delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/12/16/07:08:33

From: hamel AT republique DOT saclay DOT cea DOT fr (jl Hamel)
Subject: Re: B17.0 bug: 'rm -i' prompting
16 Dec 1996 07:08:33 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199612160803.JAA21692.cygnus.gnu-win32@republique.saclay.cea.fr>
Original-To: richardd AT cix DOT compulink DOT co DOT uk
Original-Cc: gnu-win32 AT cygnus DOT com
X-Sun-Charset: US-ASCII
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I have also seen this bug.
A workaround to this is to type :
	"rm -i foo"  followed by Ctrl-J instead of Return
Ctrl-J sends a Line-feed, 
Return is probably mapped on Carriage-Return + Line-feed ; it seems that,
at the first entry, bash interprets both CR and LF and as two 
end of records instead one.
This bug also appears when bash encounters a "read" command inside a script.

				jl Hamel
				hamel AT republique DOT saclay DOT cea DOT fr
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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