RE: [ILUG] Bourne Shell Q

From: Stephen_Reilly at domain dell.com
Date: Tue 12 Jun 2001 - 18:37:31 IST


        I swear I'm not making it up ! Although trying it on my 5.2 box
doesn't work at all . . . Go on everyone upgrade to 7 !!

-----Original Message-----
From: Dave Airlie [mailto:airlied at domain csn.ul.ie]
Sent: 12 June 2001 18:31
To: Colm Buckley
Cc: Stephen_Reilly at domain exchange.dell.com; Irish Linux Users' Group
Subject: Re: [ILUG] Bourne Shell Q

my bash doesn't have it .. sure it's not a zshism ..

Dave.

On Tue, 12 Jun 2001, Colm Buckley wrote:

> On Tuesday 12 June 2001 18:27, you wrote:
> > read -t3 response
> > if $response = "" then echo "non interactive" fi
>
> That's a bashism. I don't think bog-standard sh has it. But, if this
> is *Linux*, you're pretty much guaranteed to have bash, so...
>
> Colm
>
>

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at domain skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:38 GMT