diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-19 19:11:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-19 19:11:38 +0200 |
commit | 145eed7578202735a7f63623d53d1ed07c376ea0 (patch) | |
tree | d15e2b44c9ec68624cb142e270603a1cede09856 | |
parent | Add test (diff) | |
download | xtest-145eed7578202735a7f63623d53d1ed07c376ea0.tar.gz xtest-145eed7578202735a7f63623d53d1ed07c376ea0.tar.bz2 xtest-145eed7578202735a7f63623d53d1ed07c376ea0.tar.xz |
Add -e, -s, +e, and +s to manual
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | README | 22 | ||||
-rw-r--r-- | xtest.1 | 12 |
2 files changed, 22 insertions, 12 deletions
@@ -16,34 +16,36 @@ OPTIONS -0 Use NUL byte instead of <newline> to delimit files in both the input and the output. - -f | -d | -p | -hL | -S | -b | -c + -e File exists. + + -f | -d | -p | -hL | -S | -s | -b | -c File exists and is a (regular file [-f] | directory [-d] | named pipe [-p] | symbolic link [-h | -L] | - socket [-S] | block special [-b] | character special - [-c]). + socket [-S] | non-empty file [-s] | block special [-b] | + character special [-c]). -k | -g | -u | -r | -w | -x File exists and has (sticky(1) [-k] | setgid(2) [-g] | setuid(4) [-u] | read(4) [-r] | write(2) [-w] | execute(1) [-x]) permissions. - -t - Input is an file descriptor and is associated with a + -t Input is an file descriptor and is associated with a terminal. - +f | +d | +p | +hL | +S | +b | +c + +e File does not exist. + + +f | +d | +p | +hL | +S | +s | +b | +c File does not exist or is not a (regular file [+f] | directory [+d] | named pipe [+p] | symbolic link [+h | - +L] | socket [+S] | block special [+b] | character - special [+c]). + +L] | socket [+S] | non-empty file [+s] | block special + [+b] | character special [+c]). +k | +g | +u | +r | +w | +x File does not exist or does not has (sticky(1) [+k] | setgid(2) [+g] | setuid(4) [+u] | read(4) [+r] | write(2) [+w] | execute(1) [+x]) permissions. - +t - Input is not a file descriptor or is not associated + +t Input is not a file descriptor or is not associated with a terminal. RATIONALE @@ -22,7 +22,9 @@ stdout. .It Fl 0 Use NUL byte instead of <newline> to delimit files in both the input and the output. -.It Fl f | Fl d | Fl p | Fl hL | Fl S | Fl b | Fl c +.It Fl e +File exists. +.It Fl f | Fl d | Fl p | Fl hL | Fl S | Fl s | Fl b | Fl c File exists and is a (regular file .Op Fl f | directory @@ -33,6 +35,8 @@ File exists and is a (regular file .Op Fl h | Fl L | socket .Op Fl S +| non-empty file +.Op Fl s | block special .Op Fl b | character special @@ -59,7 +63,9 @@ File exists and has permissions. .It Fl t Input is an file descriptor and is associated with a terminal. -.It \fB+f\fP | \fB+d\fP | \fB+p\fP | \fB+hL\fP | \fB+S\fP | \fB+b\fP | \fB+c\fP +.It \fB+e\fP +File does not exist +.It \fB+f\fP | \fB+d\fP | \fB+p\fP | \fB+hL\fP | \fB+S\fP | \fB+s\fP | \fB+b\fP | \fB+c\fP File does not exist or is not a (regular file .Op \fB+f\fP | directory @@ -70,6 +76,8 @@ File does not exist or is not a (regular file .Op \fB+h\fP | \fB+L\fP | socket .Op \fB+S\fP +| non-empty file +.Op \fB+s\fP | block special .Op \fB+b\fP | character special |