delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/14/19:05:06

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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 14 Aug 2002 19:04:56 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: @file handling in Cygwin
In-Reply-To: <20020814221218.GA29230@butch.jgcomp.com>
Message-ID: <Pine.GSO.4.44.0208141900330.25005-100000@slinky.cs.nyu.edu>
MIME-Version: 1.0

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/

- Raw text -


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