Article View: comp.bugs.sys5
Article #845Re: compressdir bug?
From: Chip Salzenberg
Date: Thu, 15 Sep 1988 12:45
Date: Thu, 15 Sep 1988 12:45
29 lines
1056 bytes
1056 bytes
According to stu@gtisqr.UUCP (Stu Donaldson): >As I said, my solution was to create /bin/test. Here is a copy, >it is incredibly simple. > > : > # /bin/test > if [ $* ] > then > exit 0 > else > exit 1 > fi Besides being simple, it is also broken. :-) Just imagine trying to run "test '*' = '*'". Here's a better implementation: : # /bin/test if [ "$@" ] then exit 0 else exit 1 fi -- Chip Salzenberg <chip@ateng.uu.net> or <uunet!ateng!chip> A T Engineering My employer may or may not agree with me. The urgent leaves no time for the important.
Technical Details
Message-ID:
<1988Sep15.084528.16726@ateng.uucp>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!ateng!chipReferences:
<303@hawkmoon.MN.ORG> <442@gt-ford.gtisqr.UUCP> <318@hawkmoon.MN.ORG> <450@gt-ford.gtisqr.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ateng!chip From: chip@ateng.uucp (Chip Salzenberg) Newsgroups: comp.bugs.sys5 Subject: Re: compressdir bug? Message-ID: <1988Sep15.084528.16726@ateng.uucp> Date: 15 Sep 88 12:45:27 GMT References: <303@hawkmoon.MN.ORG> <442@gt-ford.gtisqr.UUCP> <318@hawkmoon.MN.ORG> <450@gt-ford.gtisqr.UUCP> Reply-To: chip@ateng.UUCP (Chip Salzenberg) Organization: A T Engineering, Tampa, FL Lines: 29