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


function ne
{
    textpad $* 
}

Kevin

 -----Original Message-----
From: 	JROZYCKI@ebmail.gdeb.com [mailto:JROZYCKI@ebmail.gdeb.com] 
Sent:	Thursday, May 17, 2001 13:47
To:	cygwin@cygwin.com
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]