Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <018e01c0dd35$c02836c0$794988d4@riih223> From: "Jean-Paul de Gier" To: Subject: bash: bug in parameter passing Date: Tue, 15 May 2001 13:48:17 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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