in reply to Parsing CSV file ?s
This module allows you to manipulate CSV files via it's Data::Table::fromCSV class method. Give this one a thorough try and see if it helps you in any way (I hope it will ;-)
$"=q;grep;;$,=q"grep";for(`find . -name ".saves*~"`){s;$/;;;/(.*-(\d+) +-.*)$/;$_=["ps -e -o pid | "," $2 | "," -v "," "]`@$_`?{print" ++ $1"}:{print"- $1"}&&`rm $1`;print"\n";}
|
|---|