From 145eed7578202735a7f63623d53d1ed07c376ea0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Oct 2017 19:11:38 +0200 Subject: Add -e, -s, +e, and +s to manual MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 22 ++++++++++++---------- xtest.1 | 12 ++++++++++-- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/README b/README index 2e8b2ac..5ea5e02 100644 --- a/README +++ b/README @@ -16,34 +16,36 @@ OPTIONS -0 Use NUL byte instead of 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 diff --git a/xtest.1 b/xtest.1 index 2c01f04..da98bec 100644 --- a/xtest.1 +++ b/xtest.1 @@ -22,7 +22,9 @@ stdout. .It Fl 0 Use NUL byte instead of 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 -- cgit v1.2.3-70-g09d2