[Top][All Lists]

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

no way to turn off !, ^ history expansion in *shell*

From: Dan Jacobson
Subject: no way to turn off !, ^ history expansion in *shell*
Date: Wed, 05 Mar 2003 03:02:00 +0800
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

I found a real bug and not my usual nitpicking.
You see I was reading 'Shell History References' Info page about how
it hijacks ^ and !, and noticed that there is no way to turn them off.

I.e. I asked myself after doing ESC P and seeing
$ ls -t|sed /ls -t|sed /ls -t|sed /^
did I really type that?
Long ago I turned that jazz off in bash, now I find that there's no
way to turn it off in *shell*.

Stop it before I cause a million dollar mistake.  I'm not used to that
and was not bourne with csh special needs.

go ahead, type
$ # ls -t|sed /^0/d|tail -333|xargs sed \#|wc # !
RET then ESC P

Sure, we read about ways to turn off expansion that takes place as you
type, but what about the more stealthy expansion you don't see and
they've already sent it to the shell...
http://jidanni.org/ Taiwan(04)25854780

reply via email to

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