delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/15/12:44:42

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
Message-Id: <5.2.1.1.2.20030715094128.02a11868@pop.sonic.net>
X-Sender: rschulz AT pop DOT sonic DOT net
Date: Tue, 15 Jul 2003 09:45:14 -0700
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rschulz AT sonic DOT net>
Subject: Re: Problems with @pathnames
In-Reply-To: <20030715161139.63988.qmail@web14909.mail.yahoo.com>
Mime-Version: 1.0

Magnus,

The @-file expansion feature is active only when a non-Cygwin program 
invokes a Cygwin executable.

Try your examples from CMD.exe or COMMAND.exe and you'll see that 
@-file expansion works as advertised.

Randall Schulz


At 09:11 2003-07-15, Magnus Lewis-Smith wrote:
>Do you have to do anything special to turn on @pathname expansion?
>
>The Cygwin User Guide, Chapter 3 (Special Filenames)
>[http://cygwin.com/cygwin-ug-net/using-specialnames.html]
>states:
>
>    Example 3-2. Using @pathname
>
>    bash$ echo  'This   is   "a     long"  line' > mylist
>    bash$ echo @mylist
>    @mylist
>    bash$ /bin/echo @mylist
>    This is a     long line
>    bash$ rm mylist
>    bash$ /bin/echo @mylist
>    @mylist
>
>
>which suggests that it should 'just happen'.  However, I get:
>
>    (~) echo  'This   is   "a     long"  line' > mylist
>    (~) echo @mylist
>    @mylist
>    (~) /bin/echo @mylist
>    @mylist
>
>which is clearly not what we want.  This has only been happening with recent
>cygwin1.dlls -- I'm using 1.3.22-1 now.  I had an older setup -- long 
>gone now,
>but probably 1.2.something where it was working.
>
>Any advice would be appreciated, particularly if I'm doing something really
>stupid.
>
>Thanks
>Magnus Lewis-Smith


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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