On Sat, Sep 19, 2009 at 1:08 AM, Gonzalo Servat <[email protected]> wrote: > You could replace $$ with $BASH_SUBSHELL (boolean indicating if you're > in a subshell). Output:
Err, sorry, $BASH_SUBSHELL indicates the level of subshell (0 = parent, 1 = first subshell, etc), not a boolean. - Gonzalo -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
