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}" != $- ]
-- 
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

Reply via email to