From: Colm Buckley (colm at domain tuatha.org)
Date: Tue 12 Jun 2001 - 18:19:05 IST
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 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