Re: cygutils cygstart eats program arguments

2004-10-27 Thread Rolf Campbell
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/


RE: cygutils cygstart eats program arguments

2004-10-26 Thread Dave Korn
 -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
-- 
Can't think of a witty .sigline today


--
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/



Re: cygutils cygstart eats program arguments

2004-10-25 Thread Robert Schmidt
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.)

Cheers,
Rob
--
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/