summaryrefslogtreecommitdiff
path: root/stest.1
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2011-11-27 23:35:09 +0100
committerConnor Lane Smith <cls@lubutu.com>2011-11-27 23:35:09 +0100
commit8cc28cb4265b0c088ea909e58f42342b2214722e (patch)
treef456155017ed610333dcabd036702f0a363843bb /stest.1
parentbb4424df072332243890714b055e978a5c70adf3 (diff)
simplify stest
Diffstat (limited to 'stest.1')
-rw-r--r--stest.115
1 files changed, 7 insertions, 8 deletions
diff --git a/stest.1 b/stest.1
index cafd4bb..1f590ec 100644
--- a/stest.1
+++ b/stest.1
@@ -3,9 +3,7 @@
stest \- filter a list of files by properties
.SH SYNOPSIS
.B stest
-.RB [ -bcdefghpqrsuwx ]
-.RB [ -C
-.IR dir ]
+.RB [ -abcdefghlpqrsuwx ]
.RB [ -n
.IR file ]
.RB [ -o
@@ -15,13 +13,11 @@ stest \- filter a list of files by properties
.B stest
takes a list of files and filters by the files' properties, analogous to
.IR test (1).
-Files which pass all tests are printed to stdout. If no files are given as
-arguments, stest will read a list of files from stdin, one path per line.
+Files which pass all tests are printed to stdout.
.SH OPTIONS
.TP
-.BI \-C " dir"
-Tests files relative to directory
-.IR dir .
+.B \-a
+Test hidden files.
.TP
.B \-b
Test that files are block specials.
@@ -44,6 +40,9 @@ Test that files have their set-group-ID flag set.
.B \-h
Test that files are symbolic links.
.TP
+.B \-l
+Test the contents of a directory given as an argument.
+.TP
.BI \-n " file"
Test that files are newer than
.IR file .