-
Notifications
You must be signed in to change notification settings - Fork 25
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
Rationalize grep behavior #31
Comments
Also
|
The -w grep option is a workaround that should be removed when #31 is fixed.
Commit 8a3c648 points to updated grep submodule HEAD. TODO: Combining file streams (-l, -L) with inverted matches stucks in an fwrite() call. |
Buffering may be needed here. We should not implement buffering at each command. Passing the grep output through a no-op dgsh-tee should solve this. |
The wiki is updated. |
The pattern tries to identify macro definitions. The baseline is given by the equivalent sgsh example (sgsh is dgsh's predecessor). The test succeeds on MacOS, but fails on Linux. |
-L
-l
or-v
-o
-c
etc is specified, output only what is specified.--matching-lines
is specified in addition to an option in the above list, also output the corresponding matching lines.-L
-l
or-v
-o
-c
etc options is specified generate one output per option.-e
option is specified, output one stream per option (do not implement this if internally the REs are merged into one).The text was updated successfully, but these errors were encountered: