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 :-)
Mike
--
"You can't get very far in this world without your dossier being there first." --
Arthur Miller
Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628
Home: http://www.speleonics.com.au
Linux enthusiast, active caver and interested in anything technical.
***************************************
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug