The inevitable one liner:
perl -E 'say join ":", ( split /,/, "nose,foo,cuke,bar" )[ 0, 2 ]'
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help
In reply to Re: Combining two fields of a CSV file
by karlgoethebier
in thread Combining two fields of a CSV file
by pdahal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |