Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14243
| From | kermit@new.rednsx.org |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | history shows edited lines not the lines actually ran |
| Date | 2018-06-16 13:23 -0400 |
| Message-ID | <mailman.2073.1529180832.1292.bug-bash@gnu.org> (permalink) |
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic uname output: Linux rednsx 2.6.32-042stab127.2 #1 SMP Thu Jan 4 16:41:44 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux Machine Type: x86_64-redhat-linux-gnu Bash Version: 4.2 Patch Level: 46 Release Status: release Description: when you edit a line from your bash history, history shows the edited version, even if you never ran it ewriting history is generally considered bad in most contexts, and i found this to be counter intuitive and can't think of why anyone would want it this way Repeat-By: echo a b^M^P^W^Necho ^Y shows echo a and echo b in your history, even though you ran echo a b and echo b, never echo a
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
history shows edited lines not the lines actually ran kermit@new.rednsx.org - 2018-06-16 13:23 -0400
csiph-web