in reply to Re^2: insert null in missing places of csv
in thread insert null in missing places of csv
My impression is that Discipulus's
perl -lanF',' -e "print join',',map {$_ ? $_ : 'NULL'} @F " testcsvnull.txt
is running under Windoze, and your
<$ perl -lanF',' -e "print join',',map {$_ ? $_ : 'NULL'} @F " 1.txt
is running under *nix. Fix the quoting as appropriate to your OS shell and give it another try.
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: insert null in missing places of csv
by Discipulus (Canon) on Feb 19, 2016 at 17:41 UTC | |
|
Re^4: insert null in missing places of csv
by ukhare (Novice) on Feb 19, 2016 at 18:41 UTC |