> It would be nice if there were an option to set to display the
> environment minus any defined shell functions. Perhaps this could be
> suggested to the bash maintainer, Chet Ramey.

When bash is in posix mode, `set' displays variables only, without
shell functions.  You can easily write a shell function to toggle
the value of posix mode around a call to `set'.

If it's only the environment you're interested in, use `export -p'
instead of `set'.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live Strong.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to