Pulled an example right out of the man page but it didn't work :(
I think there's a Perl module it depends on that isn't part of the base
Perl install.
LarryPloetz-MBP:~ larry$ (echo '"Start of field 1 with newline'
> echo 'Line 2 in field 1";value 2') |
> parallel --csv --colsep ';' echo Field 1: {1} Field 2: {2}
Can't locate object method "new" via package "Text::CSV" (perhaps you forgot to load
"Text::CSV"?) at /Users/larry/bin/parallel line 1373.
After cpan installing Text::CSV this example works as expected
LarryPloetz-MBP:~ larry$ (echo '"Start of field 1 with newline'
> echo 'Line 2 in field 1";value 2') |
> parallel --csv --colsep ';' echo Field 1: {1} Field 2: {2}
Field 1: Start of field 1 with newline
Line 2 in field 1 Field 2: value 2
Not sure what the philosophy on external dependencies is.
¬ Larry