www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/16/00:54:05

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Sun, 16 May 1999 00:54:14 -0400
To: Steve Morris <sjm AT judgement DOT com>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: bug: cygwin/bash: echo > %ED does wrong thing
Message-ID: <19990516005414.B6245@cygnus.com>
References: <199905151857 DOT LAA14659 AT cygnus DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.3i
In-Reply-To: <199905151857.LAA14659@cygnus.com>; from Steve Morris on Sat, May 15, 1999 at 11:57:14AM -0700

On Sat, May 15, 1999 at 11:57:14AM -0700, Steve Morris wrote:
>"echo >%ED" creates the wrong file. The %E gets expanded to "error 2".

>>Date: Fri, 14 May 1999 23:59:39 -0400
>>To: Steve Morris <sjm AT judgement DOT com>
>>Subject: Re: error string substituted for %E in filename
>>Message-ID: <19990514235939 DOT A898 AT cygnus DOT com>
>>References: <199905150321 DOT UAA25214 AT cygnus DOT com>
>>Mime-Version: 1.0
>>Content-Type: text/plain; charset=us-ascii
>>X-Mailer: Mutt 0.95.3i
>>In-Reply-To: <199905150321 DOT UAA25214 AT cygnus DOT com>; from Steve Morris on Fri, May 14, 1999 at 08:21:24PM -0700
>>Status: RO
>>Content-Length: 462
>>Lines: 12
>>
>>On Fri, May 14, 1999 at 08:21:24PM -0700, Steve Morris wrote:
>>>Why does this program create a file named ".new.error 2D.1".  That
>>>surely wasn't my intention and is croaking cvs client when checking
>>>out a file called "%ED.1". Obviously something thinks "%E" should be
>>>expanded to the current error string but in the open command? Not what
>>>I would have expected.
>>>
>>>Do I have to quote % to work around this?
>>
>>It's a bug in 20.1, fixed in later snapshots.
>>
>>cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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