On Thu, 20 Apr 2000, Steven W. Orr wrote:
> Not legal bashsyntax unless you're testing for a filename to be globbed.
>
> --
> -Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
> -Stranger things have happened but none stranger than this. Steven W. Orr-
> Does your driver's license say Organ Donor?Black holes are where God \
> -------divided by zero. Listen to me! We are all individuals!---------
>
> On Thu, 20 Apr 2000, rpjday wrote:
>
> =>On Wed, 19 Apr 2000, SoloCDM wrote:
> =>
> =>> Can the following bash script "if" statement be shortened/condensed?
> =>>
> =>> if [ "$MANS" = "y" ] || [ "$MANS" = "Y" ]
> =>
> =>[ $ANS = [Yy] ]
> =>
> =>or if you want to check if the response just STARTS with Y or y,
> =>
> =>[ $ANS = [Yy]* ]
dang, you're right. i was having a flashback to ksh. sorry.
rday
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.