This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
bash: bug in parameter passing
- To: <cygwin at cygwin dot com>
- Subject: bash: bug in parameter passing
- From: "Jean-Paul de Gier" <j dot de dot gier at industrious dot nl>
- Date: Tue, 15 May 2001 13:48:17 +0200
Hi,
Consider the following script:
#test
echo parameter $1
which is called by this script:
# testparam
echo testparam $1
. test param1
Notice the dot in front of the call of script test.
If you run the last script, say testparam 123
then you will see:
testparam 123
parameter 123
instead of:
testparam 123
parameter param1
I would say that this is a bug.
With regards,
Jean-Paul de Gier
PinkRoccade Industrious B.V.
Handel, Industrie & Transport
Hambakenwetering 1
Postbus 3412
5203 DK 's Hertogenbosch
voice: (+31) 73 6407807 fax: (+31) 73 6440016
The Netherlands
http://www.pinkroccade.com
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple