This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]