From owner-freebsd-current Sun Sep 1 19:11:18 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA04634 for current-outgoing; Sun, 1 Sep 1996 19:11:18 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA04629; Sun, 1 Sep 1996 19:11:13 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id TAA13845; Sun, 1 Sep 1996 19:11:12 -0700 (PDT) To: current@freebsd.org cc: bde@freebsd.org Subject: Anyone mind if I remove the following braindamage from test(1)? Date: Sun, 01 Sep 1996 19:11:12 -0700 Message-ID: <13843.841630272@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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