Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: @file handling in Cygwin Date: Wed, 14 Aug 2002 15:01:55 -0700 Message-ID: <762C0A863A7674478671627FEAF584812C3578@hqmail01.powertv.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Cheng, Cheuk" To: "Stephan Mueller" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g7EM24B32154 Thanks all for their comments. Using ls -@lsflags will give "ls: invalid option -- @" instead. I also know of cat and xargs but I just want to check whether @file is supported _within_ Cygwin or not. The insert_file() function inside dcrt0.cc which exists (for quite a long time) does not seem to work. Regards, cheng AT powertv DOT com -----Original Message----- From: Stephan Mueller [mailto:smueller AT Exchange DOT Microsoft DOT com] Sent: Wednesday, August 14, 2002 2:31 PM To: cygwin AT cygwin DOT com Subject: RE: @file handling in Cygwin 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/ -- 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/