# test # Autogenerated from man page /usr/share/man/man1/test.1 complete -c test -l help -d 'display this help and exit' complete -c test -l version -d 'output version information and exit ' complete -c test -s a -d 'both EXPRESSION1 and EXPRESSION2 are true' complete -c test -s o -d 'either EXPRESSION1 or EXPRESSION2 is true' complete -c test -s n -d 'the length of STRING is nonzero' complete -c test -s z -d 'the length of STRING is zero' complete -c test -o eq -d 'INTEGER1 is equal to INTEGER2' complete -c test -o ge -d 'INTEGER1 is greater than or equal to INTEGER2' complete -c test -o gt -d 'INTEGER1 is greater than INTEGER2' complete -c test -o le -d 'INTEGER1 is less than or equal to INTEGER2' complete -c test -o lt -d 'INTEGER1 is less than INTEGER2' complete -c test -o ne -d 'INTEGER1 is not equal to INTEGER2' complete -c test -o ef -d 'FILE1 and FILE2 have the same device and inode numbers' complete -c test -o nt -d 'FILE1 is newer (modification date) than FILE2' complete -c test -o ot -d 'FILE1 is older than FILE2' complete -c test -s b -d 'FILE exists and is block special' complete -c test -s c -d 'FILE exists and is character special' complete -c test -s d -d 'FILE exists and is a directory' complete -c test -s e -d 'FILE exists' complete -c test -s f -d 'FILE exists and is a regular file' complete -c test -s g -d 'FILE exists and is set-group-ID' complete -c test -s G -d 'FILE exists and is owned by the effective group ID' complete -c test -s h -d 'FILE exists and is a symbolic link (same as -L)' complete -c test -s k -d 'FILE exists and has its sticky bit set' complete -c test -s L -d 'FILE exists and is a symbolic link (same as -h)' complete -c test -s N -d 'FILE exists and has been modified since it was last read' complete -c test -s O -d 'FILE exists and is owned by the effective user ID' complete -c test -s p -d 'FILE exists and is a named pipe' complete -c test -s r -d 'FILE exists and the user has read access' complete -c test -s s -d 'FILE exists and has a size greater than zero' complete -c test -s S -d 'FILE exists and is a socket' complete -c test -s t -d 'file descriptor FD is opened on a terminal' complete -c test -s u -d 'FILE exists and its set-user-ID bit is set' complete -c test -s w -d 'FILE exists and the user has write access' complete -c test -s x -d 'FILE exists and the user has execute (or search) access'