diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-01-12 02:40:04 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-01-12 02:40:04 +0100 |
commit | a82beacedba9511d2886ecc66a64d622a9b02d7b (patch) | |
tree | 6a76b821f1de7bf4eb3c4f52102e6eca952a40e0 | |
parent | 65a00a04ff2c4ed954aec2efa1cd52713fe641b9 (diff) |
Add example
-rw-r--r-- | grab.1 | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |