diff options
author | Connor Lane Smith <cls@lubutu.com> | 2011-11-27 23:35:09 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2011-11-27 23:35:09 +0100 |
commit | 8cc28cb4265b0c088ea909e58f42342b2214722e (patch) | |
tree | f456155017ed610333dcabd036702f0a363843bb /stest.1 | |
parent | bb4424df072332243890714b055e978a5c70adf3 (diff) |
simplify stest
Diffstat (limited to 'stest.1')
-rw-r--r-- | stest.1 | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -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 . |