Help for this page

Select Code to Download


  1. or download this
    s/\(.*\),\(.*\)\n\(.*\)\n\(.*\)\n/"\1,\2",\3,\4\r/g
    
  2. or download this
    perl -e 'my $data =`cat test.pl`; $data=~s/(.*),(.*)\n(.*)\n(.*)\n/"\1
    +,\2",\3,\4\n/g;print $data;'>newfile.csv
    
  3. or download this
    perl -e 'my $data =`type test.pl`; $data=~s/(.*),(.*)\n(.*)\n(.*)\n/"\
    +1,\2",\3,\4\n/g;print $data;'>newfile.csv