NAME
csvgrep - search for patterns in a CSV and display results in a table
SYNOPSIS
csvgrep <pattern> <file>
csvgrep -d <directory> <pattern>
DESCRIPTION
csvgrep is a script that lets you look for a pattern in a CSV file, and then displays the results in a text table.
The simplest usage is to look for a word in a CSV:
csvgrep snorlax pokemon.csv
As with regular grep, you can use the -i switch to make it case-insensitive:
csvgrep -i snorlax pokemon.csv
This assumes that the first row in the CSV is a header row, and uses that as the header in the output.
AUTHOR
Neil Bowers <neilb@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Neil Bowers <neilb@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.