Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C csvkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wireservice
  • csvkit
  • Issues
  • #368
Closed
Open
Issue created Dec 13, 2014 by Administrator@rootContributor

csvgrep -r doesn't find matches across newlines

Created by: gabebw

I'm using csvkit 0.9.0.

Given the following CSV in test.csv:

user_id,body
gabebw,"IRC
AIM"

csvgrep can find the row when matching on IRC, which is on the first line:

$ csvgrep -c body -r IRC test.csv
user_id,body
gabebw,"IRC
AIM"

But when I try to match on AIM, which is on a newline but still part of the row, csvgrep does not find the row:

$ csvgrep -c body -r AIM test.csv
user_id,body

Am I using -r incorrectly, or maybe passing it the wrong input?

Assignee
Assign to
Time tracking