Forrest logo
back to context overview

csvgrep

List of commands for csvgrep:

  • csvgrep:tldr:7b34d csvgrep: Find rows in which columns 3 or 4 match a certain regular expression.
    $ csvgrep -c ${3,4} -r ${regular_expression} ${data-csv}
    try on your machine
    explain this command
  • csvgrep:tldr:cae6e csvgrep: Find rows in which the "name" column does NOT include the string "John Doe".
    $ csvgrep -i -c ${name} -m "${John Doe}" ${data-csv}
    try on your machine
    explain this command
  • csvgrep:tldr:eb8b6 csvgrep: Find rows that have a certain string in column 1.
    $ csvgrep -c ${1} -m ${string_to_match} ${data-csv}
    try on your machine
    explain this command
back to context overview