- or download this
|value 1|value two|"|Value 3 was "NULL"|2001/06/06|
- or download this
perl -pi.bak -e "s/\|\"\|/\|\|/g" filename
- or download this
open OUTFILE, ">>@ARGV[0].dat";
while (<>) {
...
print OUTFILE $_;
}
close OUTFILE;
- or download this
while (<>) {
split /\|/;
...
}
print $output;
}