CSVAWK - Pass CSV files to AWK.
Given a CSV file that can't be parsed naively
a,b,"c,d",e 1,2,3,"4 5" 6,7,8,9
the command
csvawk '$a == 1 { print $b, $c_d }' quux.csv
will return
2,3
CSVAWK allows processing CSV files to AWK via a (relatively) thin Perl wrapper.
Bryan McKelvey <bryan.mckelvey@gmail.com>
Copyright (c) 2017 Bryan McKelvey. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module
To install CSVAWK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CSVAWK
CPAN shell
perl -MCPAN -e shell install CSVAWK
For more information on module installation, please visit the detailed CPAN module installation guide.