-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transform: grep (row filter) #31
Comments
Start on this in PR #28 |
@davidmiller interested in your thoughts on following unix grep (vs e.g. csvgrep). For example, -i for invert versus -v ... |
+10 for following unix grep flags. |
Is this the time to introduce a javascript optparse library? Parsing options for the operations so far has been fine without one, but grep is a bit trickier, and I guess npm is bound to have a good option parser. |
node-optimist looks like a very popular choice. |
A few more of these options are in now (see: updated docs page). The options are a mix of csvkit grep and unix grep. Regex is hampered quite a bit by URL limitations e.g. neither forward slash nor backslash can be used outside of the query string (since forward slash means pipe). |
This is pretty much done now… I stripped out 'basic match' in favour of regex match. Maybe both options would be better (i.e. the csvkit way, rather than the unix way)? |
Basic question: do we match unix grep as much as possible?
See also
The text was updated successfully, but these errors were encountered: