RE: [ILUG] Bourne Shell Q

From: Stephen_Reilly at domain dell.com
Date: Tue 12 Jun 2001 - 19:16:45 IST


hmmm works in sh-2.04, but yeah, bit of a bash man myself ...

-----Original Message-----
From: Colm Buckley [mailto:colm at domain tuatha.org]
Sent: 12 June 2001 18:19
To: Stephen_Reilly at domain exchange.dell.com; Irish Linux Users' Group
Subject: Re: [ILUG] Bourne Shell Q

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

-- 
Colm Buckley  at domain  NewWorld Commerce
Business: +353 1 4334334  / colm at domain nwcgroup.com / http://www.nwcgroup.com/
Personal: +353 87 2469146 / colm at domain tuatha.org / http://www.tuatha.org/~colm/
The possibilities are...  well, not endless, but pretty damn large.


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