This isn't a bug, actually. I'm wondering if there's any way to access
the string provided with the -c option to the shell, from within the
shell init files.
For example, if I run this;
bash --login -c 'echo hi'
How can I find the string 'echo hi' from within my ~/.bash_profile? I
tried the obvious but it isn't in $@ and it's not sitting in stdin
waiting for me. Is there any way to retrieve that string from within my
shell setup?
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@gnu.org> Find some GNU make tips at:
http://www.gnu.orghttp://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist