sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 96c8c5f389f358da904ed3e9c07b0ba76cb21644
parent ddec3259aad6b92727a4f82501b98a491176ac3b
Author: Christian Hesse <mail@eworm.de>
Date:   Tue Jul 23 14:03:22 +0200

add man page for test

Diffstat:
test.1 | 66++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+), 0 deletions(-)
diff --git a/test.1 b/test.1 @@ -0,0 +1,66 @@ +.TH TEST 1 sbase\-VERSION +.SH NAME +test \- check file types and compare values +.SH SYNOPSIS +.B test +.RB EXPRESSION +.SH DESCRIPTION +.B Exit with the status determined by EXPRESSION. +.SH OPTIONS +.TP +.B ! EXPRESSION +invert EXPORESSION +.TP +.B \-b FILE +FILE exists and is block special +.TP +.B \-c FILE +FILE exists and is character special +.TP +.B \-d FILE +FILE exists and is a directory +.TP +.B \-e FILE +FILE exists +.TP +.B \-f FILE +ILE exists and is a regular file +.TP +.B \-g FILE +FILE exists and is set-group-ID +.TP +.B \-h FILE +FILE exists and is a symbolic link (same as -L) +.TP +.B \-L FILE +FILE exists and is a symbolic link (same as -h) +.TP +.B \-n STRING +the length of STRING is nonzero +.TP +.B \-p FILE +FILE exists and is a named pipe +.TP +.B \-r FILE +FILE exists and read permission is granted +.TP +.B \-S FILE +FILE exists and is a socket +.TP +.B \-s FILE +FILE exists and has a size greater than zero +.TP +.B \-t FD +file descriptor FD is opened on a terminal +.TP +.B \-u FILE +exists and its set-user-ID bit is set +.TP +.B \-w FILE +FILE exists and write permission is granted +.TP +.B \-x FILE +FILE exists and execute (or search) permission is granted +.TP +.B \-z STRING +the length of STRING is zero