bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

failed ! commands should still go into the history list


From: Dan Jacobson
Subject: failed ! commands should still go into the history list
Date: 11 Jun 2001 22:09:51 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Here's a rather annoying item.  You have just typed in
$ TERM=vt100 lynx  
http://www.taipower.com.tw/cgi-bin/search.cgi?!POST:a2wOp5JvW7xTig6trVKqlw.3b23ea24
and you get
bash: !POST: event not found
and it is not in the history list for you to go back and make ! into \!

[I have already learned not to put leading spaces on commands lest
they not be recallable by C-p.]  Let's say I didn't have mouse cut and
paste as a backup.  In that case just think of the frustration when
failed commands involving the ! cause one to need to re-key-in each
character.

P.S. I would turn ! off with set -o but that would make it to easy for
me to produce code snippets that would fail when I shared them with
users who still have it on.

P.P.S. I never looked highly upon !.  I suppose it was invented
because one couldn't edit command lines much back then.
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]