delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/14/17:31:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-MimeOLE: Produced By Microsoft Exchange V6.0.6236.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: @file handling in Cygwin
Date: Wed, 14 Aug 2002 14:30:34 -0700
Message-ID: <BF653A78FF4ED0468924C8721AC5EAE77DDC05@df-muttley.dogfood>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Stephan Mueller" <smueller AT Exchange DOT Microsoft DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 14 Aug 2002 21:30:34.0214 (UTC) FILETIME=[D2B9A060:01C243D9]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g7ELV4026353

Command line length limitations?  Yeah, there's xargs.  I'm not saying
$(cat lsflags) won't do, just that there's some merit in the @ syntax.

But in any case, upon rereading, I see this isn't really what Cheuk is
asking -- the claim is that there's evidence cygwin supports this.  Hmm,
time for the obvious: if the comment really says to use -@file, (i.e.
the dash is not a typo), then I'm not surprised ls @lsflags doesn't do
it.  Have you tried ls -@lsflags ?

stephan();



-----Original Message-----
From: Andrew DeFaria [mailto:ADeFaria AT Salira DOT com] 
Sent: Wednesday, August 14, 2002 2:03 PM
To: cygwin AT cygwin DOT com
Subject: Re: @file handling in Cygwin


Cheng, Cheuk wrote:

> Does anyone know if Cygwin is supposed to handle command syntax like
> "ls @lsflags" where lsflags is a text file containing some command 
> line options for "ls"? I have located a function called insert_file() 
> inside dcrt0.cc which has a comment talking about replacing -@file in 
> the command line with the contents of the file. However, I have tried 
> to enter "ls @lsflags" inside bash running under Cygwin1.dll version 
> 1.3.10 and 1.3.11 but it always returns an error of "No such file or 
> directory".

Why not simply "ls $(cat lsflags)"?




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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