diff options
Diffstat (limited to 'sor.1')
-rw-r--r-- | sor.1 | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -16,12 +16,22 @@ sor \- combine shell predicates with logical or .SH SYNOPSIS .B sor +.RI [\| OPTION ...\] .IR SNIPPET ... .SH DESCRIPTION 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. +.SH OPTIONS +.TP +\fB-0, --null\fP +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. +.TP +\fB--help\fP +Print a summary of the usage of \fBsor\fP and exit. .SH EXAMPLE .EX walk /etc | sor 'test -f' |