From a82beacedba9511d2886ecc66a64d622a9b02d7b Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 12 Jan 2024 02:40:04 +0100 Subject: Add example --- grab.1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/grab.1 b/grab.1 index f58ff7f..6bb3ed1 100644 --- a/grab.1 +++ b/grab.1 @@ -132,6 +132,10 @@ For more information regarding SGR parameters see List all your systems CPU flags, sorted and without duplicates: .Pp .Dl $ grab 'x/^flags.*/ x/\ew+/ v/flags/' | sort | uniq +.Pp +Search for a pattern in multiple files without printing filenames: +.Pp +.Dl $ cat file1 file2 file3 | grab 'x/pattern/' .Sh SEE ALSO .Xr grep 1 .Rs -- cgit v1.2.3