delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/14/20:13:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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
Subject: RE: @file handling in Cygwin
Date: Wed, 14 Aug 2002 17:13:19 -0700
Message-ID: <762C0A863A7674478671627FEAF584812C357A@hqmail01.powertv.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Cheng, Cheuk" <cheng AT powertv DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g7F0Der19912

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 AT powertv DOT com

-----Original Message-----
From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu] 
Sent: Wednesday, August 14, 2002 4:05 PM
To: cygwin AT cygwin DOT 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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/


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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019