delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/17/15:11:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <FFC7351A4632D411820000508B2E1C2C01CB12BC@hqexch01.citrix.com>
From: Kevin Schnitzius <kevin DOT schnitzius AT citrix DOT com>
To: "'JROZYCKI AT ebmail DOT gdeb DOT com'" <JROZYCKI AT ebmail DOT gdeb DOT com>, cygwin AT cygwin DOT com
Subject: RE: pass command line arguement to alias
Date: Thu, 17 May 2001 14:52:52 -0400
X-Mailer: Internet Mail Service (5.5.2650.21)

function ne
{
    textpad $* 
}

Kevin

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019