Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-01-08 21:12:10 -0800 (Sat, 08 Jan 2005)
Revision: 757
Log message:
Added the "test" command.
The usage follows the man page for test(1).
I believe everything on the man page works.
Internal:
$(test <exp>)
Shell:
test <exp>
[ <exp> ]
For example, the following two expressions are equivalent.
if $(test -f foo)
echo The file foo is a normal file
[ -f foo ] && echo The file foo is a normal file