pass command line arguement to alias

Kevin Schnitzius kevin.schnitzius@citrix.com
Thu May 17 11:53:00 GMT 2001


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



More information about the Cygwin mailing list