perl -ple 's/[;\s]+/m#.*,#;$\.$&/eg' [download]
In reply to Re: Perl one-liner for array at bash shell by Anonymous Monk in thread Perl one-liner for array at bash shell by Anonymous Monk