Mail Archives: cygwin/2002/08/14/18:02:05
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/
- Raw text -