Mike Lake <[EMAIL PROTECTED]> wrote: > On Mon, Oct 22, 2001 at 10:37:40PM +0000, Herbert Xu wrote: >> Angus Lees <[EMAIL PROTECTED]> wrote: >> >> > only echo if bash is in "interactive" mode (don't know how you check >> > that off the top of my head. in tcsh you see if $prompt is defined) >> >> [ "${-#*i}" != $- ]
> Oh geez ! IMHO a little obfuscated I think. > Thanks Jan and Steve, I shall try YOUR suggestions :-) Obfuscated may be but the only technically correct solution IMHO :) -- Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug