]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man1/grepc.1: EXAMPLES: Fix command
authorAlejandro Colomar <alx@kernel.org>
Thu, 30 Oct 2025 09:50:40 +0000 (10:50 +0100)
committerAlejandro Colomar <alx@kernel.org>
Fri, 31 Oct 2025 11:23:01 +0000 (12:23 +0100)
The output shows the line number, so it must have been called with -n.

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

index 64edc5fe7c7a8588111143866ff1e3fd8264ec36..7c733fdd2028198619c7bdd76507d44058bfa86b 100644 (file)
@@ -195,7 +195,7 @@ If you need to read a non-seekable file,
 redirect it to the standard input.
 .SH EXAMPLES
 .EX
-.RB alx@devuan:/usr/lib/gcc$ " grepc alignof ." ;
+.RB alx@devuan:/usr/lib/gcc$ " grepc -n alignof ." ;
 \&./x86_64\-linux\-gnu/15/include/stdalign.h:33:#define alignof _Alignof
 .EE
 .SH SEE ALSO