delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/17/14:34:37

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: <01b501c0defe$34ce7920$4d319b80@larc.nasa.gov>
Reply-To: "Scott A. Hill" <s DOT a DOT hill AT larc DOT nasa DOT gov>
From: "Scott A. Hill" <s DOT a DOT hill AT larc DOT nasa DOT gov>
To: <cygwin AT cygwin DOT com>
References: <85256A4F DOT 00614E05 DOT 00 AT ebmail DOT gdeb DOT com>
Subject: Re: pass command line arguement to alias
Date: Thu, 17 May 2001 14:20:57 -0400
Organization: STAB
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

Try the following:
    "TextPad.exe" $1 &

Scott

----- Original Message -----
From: <JROZYCKI AT ebmail DOT gdeb DOT com>
To: <cygwin AT cygwin DOT 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

- Raw text -


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