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


No.  bash and sh were the first things I've tried, and then I vaguely
remembered reading in the User Guide that this feature was added to
overcome the prohibitively short DOS command line limit, which lead me to
try it in the command prompt.
	Igor

On Wed, 14 Aug 2002, Cheng, Cheuk wrote:

> Thanks Igor.  Did you get the same thing to work within bash or sh?  The
> example in the Cygwin User Guide actually uses an @file inside bash as a
> demonstration.
>
> cheng@powertv.com
>
> -----Original Message-----
> From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu]
> Sent: Wednesday, August 14, 2002 4:05 PM
> To: cygwin@cygwin.com
> Subject: Re: @file handling in Cygwin
>
>
> 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/


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