]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/lgrep
bin/ack-wrapper: Handle STDIN being a pipe
[dotfiles.git] / bin / lgrep
1 #!/bin/sh
2 # Usage: lgrep [<options>] <pattern>
3 # Shorthand for: grep --line-buffer <options> <pattern>
4 # This is useful when using grep in a pipeline with tail -f or
5 # where buffering would delay output.
6 exec grep --line-buffer "$@"