Diffstat (limited to 'sor.1')
1 files changed, 10 insertions, 0 deletions
@@ -16,12 +16,22 @@
sor \- combine shell predicates with logical or
+.RI [\| OPTION ...\]
.IR SNIPPET ...
Read paths from standard input. For each path, evaluate each argument as a
.BR bash (1)
snippet with the path as the first argument. Print the path to standard output
if any of the snippets exits with status 0.
+Filenames are terminated using the null character \fB\\0\fP instead of
+newlines, for both input and output.
+Suitable for use with \fBwalk -0\fP.
+Print a summary of the usage of \fBsor\fP and exit.
walk /etc | sor 'test -f'