www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/27/11:22:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Rolf Campbell <thats DOT unpossible AT gmail DOT com>
Subject: Re: cygutils cygstart eats program arguments
Date: Wed, 27 Oct 2004 11:13:06 -0400
Lines: 32
Message-ID: <clodu3$itm$1@sea.gmane.org>
References: <cljsoj$g7g$1 AT sea DOT gmane DOT org> <NUTMEGVhyemYewQ1N8P00000241 AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: ottgw.tropicnetworks.com
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
In-Reply-To: <NUTMEGVhyemYewQ1N8P00000241@NUTMEG.CAM.ARTIMI.COM>
X-IsSubscribed: yes

Dave Korn wrote:
>>-----Original Message-----
>>From: cygwin-owner On Behalf Of Robert Schmidt
>>Sent: 25 October 2004 22:56
> 
> 
>>Mark Paulus wrote:
>>
>>>Have you tried using a -- to indicate end of arguments
>>>to cygstart:
>>>
>>>cygstart -- tail --version
>>>
>>
>>Thanks!  No, I hadn't, and that works great.
>>
>>I still find the usage syntax to be misleading though:
>>Usage: cygstart [OPTION]... FILE [ARGUMENTS]
>>
>>What are ARGUMENTS if not to be passed to the execution of 
>>FILE?  (For 
>>people relatively new to the nuances of cygwin/Linux (like 
>>myself), '--' 
>>is a pretty obscure feature.)
> 
> 
>   Consider the question of how one would grep for the string "--version" in a
> file.....
> 
>     cheers, 
>       DaveK
grep -e --version


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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