pass command line arguement to alias
Scott A. Hill
s.a.hill@larc.nasa.gov
Thu May 17 11:21:00 GMT 2001
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
More information about the Cygwin
mailing list