This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: pass command line arguement to alias
- To: <cygwin at cygwin dot com>
- Subject: Re: pass command line arguement to alias
- From: "Scott A. Hill" <s dot a dot hill at larc dot nasa dot gov>
- Date: Thu, 17 May 2001 14:20:57 -0400
- Organization: STAB
- References: <85256A4F.00614E05.00@ebmail.gdeb.com>
- Reply-To: "Scott A. Hill" <s dot a dot hill at larc dot nasa dot gov>
Try the following:
"TextPad.exe" $1 &
Scott
----- Original Message -----
From: <JROZYCKI@ebmail.gdeb.com>
To: <cygwin@cygwin.com>
Sent: Thursday, May 17, 2001 1:47 PM
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
>
>
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple