bash: bug in parameter passing

Jean-Paul de Gier j.de.gier@industrious.nl
Tue May 15 04:51:00 GMT 2001


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



More information about the Cygwin mailing list