www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/27/02:13:19

From: cgf AT cygnus DOT com (Christopher G. Faylor)
Subject: Re: B20: @arg expansion change problem
27 Nov 1998 02:13:19 GMT :
Message-ID: <73l1rv$5rn$1@cronkite.cygnus.com>
References: <365D84A9 DOT 7F6F DOT cygnus DOT gnu-win32 AT hragir DOT aua DOT am>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <365D84A9 DOT 7F6F DOT cygnus DOT gnu-win32 AT hragir DOT aua DOT am>,
Jan <jssr AT geocities DOT com> wrote:
>Up to beta19, an argument starting with '@'
>always was considered a usual filename.
>Now in beta20, '@arg' is a filename if 'arg'
>isn't a file, or the content of 'arg' if 'arg'
>is a file.
>
>ex:
>	rm a
>	touch @a ->'@a' created
>	rm @a
>	echo e f g > a
>	touch @a ->'e','f','g' created instead of '@a'
>		   this wasn't the case in pre-b20.
>
>As I use make for several dos/windows compilers,
>I need a way to tunnel the '@' through command lines
>without them erroneously getting expanded, should
>the conflicting '@'-less files exist.
>
>Is there a recommended solution for this? Or did I miss
>some environment variable? CYGWIN=  noglob at least didn't
>help, and besides I still want the usual *,? wildcards expanded.

Unfortunately this is a change that was requested by our customers.  The
obvious workaround is to use ./@file .  There is no CYGWIN setting to
control this.
-- 
cgf AT cygnus DOT com
http://www.cygnus.com/

- Raw text -


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