In GNU Bash-2.05b (Fedora Core 1), I observe the following behaviour:

If bash script A is invoked (via "source") with command line parameters, and bash script A invokes (via "source") bash script B with NO parameters specified, then the parameters specified for A are passed to B (rather than what I would have thought would be the expected behaviour, that script B is called with NO parameters).

Is this intended behaviour, or a bug? I've worked around it by specifying in script A just one null ("") parameter to script B.

-- Dean



_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to