Here is yet another way to do it:
perl -le 'print join ",",map{chomp;$_}<>' file
-enlil
In reply to Re: Re: •Re: perl 1-liner to join a list?
by Enlil
in thread perl 1-liner to join a list?
by bfdi533
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |