bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BASH bug or expected behaviour?


From: Dean K. Gibson
Subject: BASH bug or expected behaviour?
Date: Wed, 17 Aug 2005 12:24:48 -0700
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]