Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <00b501c0df00$48f39190$ec33273f@ca.boeing.com>
From: "Michael A. Chase" <mchase@ix.netcom.com>
To: <JROZYCKI@ebmail.gdeb.com>, <cygwin@cygwin.com>
References: <85256A4F.00614E05.00@ebmail.gdeb.com>
Subject: Re: pass command line arguement to alias
Date: Thu, 17 May 2001 11:31:31 -0700
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.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

Try using a function instead.
--
Mac :})
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: <JROZYCKI@ebmail.gdeb.com>
To: <cygwin@cygwin.com>
Sent: Thursday, May 17, 2001 10:47
Subject: pass command line arguement to alias


> I have an alias that starts an NT executable.  I'd like to pass an
argument
> to this executable in a bash?
>
> I was trying:
> alias ne="textpad $1 &"
>
> but it thinks the argument is another command and tries to execute it.



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

