This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pass command line arguement to alias


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]