This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: pass command line arguement to alias
- To: <JROZYCKI at ebmail dot gdeb dot com>, <cygwin at cygwin dot com>
- Subject: Re: pass command line arguement to alias
- From: "Michael A. Chase" <mchase at ix dot netcom dot com>
- Date: Thu, 17 May 2001 11:31:31 -0700
- References: <85256A4F.00614E05.00@ebmail.gdeb.com>
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