]> git.ipfire.org Git - thirdparty/man-pages.git/commit
Don't find files recursively
authorAlejandro Colomar <alx@kernel.org>
Fri, 3 Nov 2023 14:08:49 +0000 (15:08 +0100)
committerAlejandro Colomar <alx@kernel.org>
Wed, 29 Oct 2025 20:29:16 +0000 (21:29 +0100)
commit9df676f542bcecffc5d05a24ca36cf4becf7d4ad
tree8ec33b3e71d321592586ce0f0f7edc4a41f718ea
parentca893be25097d665e43cb420855210fb54a84f6a
Don't find files recursively

grep only one file (or stdin).

The current implementation doesn't allow filterin standard input, which
I miss some times.  I'm removing this feature now, to be able to rewrite
most of the program in a way that allows filtering stdin, and then will
consider adding back a recursive mode if necessary.

Also, don't remove the two blanks at the start of the output, for
consistency when calling this program via xargs(1), which will become
more common now that it only handles single files.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
bin/grepc
share/man/man1/grepc.1