bug: cygwin/bash: echo > %ED does wrong thing
Mon May 31 21:10:00 GMT 1999
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 <firstname.lastname@example.org>
>>Subject: Re: error string substituted for %E in filename
>>Content-Type: text/plain; charset=us-ascii
>>X-Mailer: Mutt 0.95.3i
>>In-Reply-To: <199905150321.UAA25214@cygnus.com>; from Steve Morris on Fri, May 14, 1999 at 08:21:24PM -0700
>>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.
Want to unsubscribe from this list?
Send a message to email@example.com
More information about the Cygwin