Date: Sun, 01 Sep 1996 19:11:12 -0700 From: "Jordan K. Hubbard" <jkh@time.cdrom.com> To: current@freebsd.org Cc: bde@freebsd.org Subject: Anyone mind if I remove the following braindamage from test(1)? Message-ID: <13843.841630272@time.cdrom.com>
next in thread | raw e-mail | index | archive | help
root@time-> [ -d /tmp ] && echo Yup, its a directory Yup, its a directory root@time-> [ -d ] && echo Yup, its a directory Yup, its a directory Clearly, as Bruce has already noted in other email, the second form is clearly bogus and should generate a usage message of some sort since -d obviously takes an argument. Is there any POSIX weirdness which mandates that test not do proper argument checking? Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13843.841630272>