But, having said that, I have tried my code as you suggest and still get no results.
cat file | perl -e "while (<>) { push @a, $_; } print join(',',@a);"
Ed
In reply to Re: •Re: perl 1-liner to join a list?
by bfdi533
in thread perl 1-liner to join a list?
by bfdi533
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |