in reply to Re^2: Perl one-liner for array at bash shellin thread Perl one-liner for array at bash shell
perl -ple 's{ [;\s]+ }{ m{.*,}; $/ . $& }egx' perl -ple '($a)=/(.*,)/; s/[;\s]+/\n$a/g' [download]