Skip to content

Commit

Permalink
csvgrep: Add case-insensitive example, closes #984
Browse files Browse the repository at this point in the history
  • Loading branch information
James McKinney committed Sep 20, 2018
1 parent 43bfe58 commit 6d280f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/scripts/csvgrep.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ Search for rows relating to states with names beginning with the letter "I"::
Search for rows that do not contain an empty state cell::

csvgrep -c 1 -r "^$" -i examples/realdata/FY09_EDU_Recipients_by_State.csv

Perform a case-insensitive search::

csvgrep -c 1 -r "(?i)illinois" examples/realdata/FY09_EDU_Recipients_by_State.csv

0 comments on commit 6d280f5

Please sign in to comment.