@file handling in Cygwin

Igor Pechtchanski pechtcha@cs.nyu.edu
Wed Aug 14 18:31:00 GMT 2002


On Wed, 14 Aug 2002, Jon LaBadie wrote:

> On Wed, Aug 14, 2002 at 03:01:55PM -0700, Cheng, Cheuk wrote:
> > 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.
>
> Where is it supported?  I've never seen it?
>
> Is it an "os" or "shell" feature so that it is not "ls" specific?
>
> Otherwise I'd think an ls(1) man page perusal would answer
> the question negatively.

This feature works when cygwin programs are invoked from the windows
command shell:

C:\cygwin\tmp\testls>type files
files lsflags

C:\cygwin\tmp\testls>type lsflags
-a --color

C:\cygwin\tmp\testls>ls -l @files
-rw-rw-rw-    1 igor     None           14 Aug 14 19:03 files
-rw-rw-rw-    1 igor     None           11 Aug 14 19:02 lsflags

C:\cygwin\tmp\testls>ls @lsflags
.  ..  files  lsflags

C:\cygwin\tmp\testls>

	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95.  Something is wrong here. -- SC sig file


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



More information about the Cygwin mailing list