in reply to Re: •Re: perl 1-liner to join a list?
in thread perl 1-liner to join a list?
Here is yet another way to do it:
perl -le 'print join ",",map{chomp;$_}<>' file
-enlil
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: perl 1-liner to join a list?
by Nkuvu (Priest) on Nov 11, 2003 at 22:10 UTC | |
by kelan (Deacon) on Nov 11, 2003 at 22:26 UTC | |
by Nkuvu (Priest) on Nov 11, 2003 at 22:34 UTC | |
by Enlil (Parson) on Nov 12, 2003 at 00:02 UTC |