1STEST(1)                    General Commands Manual                   STEST(1)
2
3
4

NAME

6       stest - filter a list of files by properties
7

SYNOPSIS

9       stest [-abcdefghlpqrsuwx] [-n file] [-o file] [file...]
10

DESCRIPTION

12       stest takes a list of files and filters by the files' properties, anal‐
13       ogous to test(1).  Files which pass all tests are printed to stdout. If
14       no files are given, stest reads files from stdin.
15

OPTIONS

17       -a     Test hidden files.
18
19       -b     Test that files are block specials.
20
21       -c     Test that files are character specials.
22
23       -d     Test that files are directories.
24
25       -e     Test that files exist.
26
27       -f     Test that files are regular files.
28
29       -g     Test that files have their set-group-ID flag set.
30
31       -h     Test that files are symbolic links.
32
33       -l     Test the contents of a directory given as an argument.
34
35       -n file
36              Test that files are newer than file.
37
38       -o file
39              Test that files are older than file.
40
41       -p     Test that files are named pipes.
42
43       -q     No files are printed, only the exit status is returned.
44
45       -r     Test that files are readable.
46
47       -s     Test that files are not empty.
48
49       -u     Test that files have their set-user-ID flag set.
50
51       -v     Invert the sense of tests, only failing files pass.
52
53       -w     Test that files are writable.
54
55       -x     Test that files are executable.
56

EXIT STATUS

58       0      At least one file passed all tests.
59
60       1      No files passed all tests.
61
62       2      An error occurred.
63

SEE ALSO

65       dmenu(1), test(1)
66
67
68
69                                   dmenu-4.9                          STEST(1)
Impressum