[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
command not put into history if it starts with space
From: |
Paul Stansell |
Subject: |
command not put into history if it starts with space |
Date: |
Fri, 5 Feb 2010 10:07:46 +0000 |
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale'
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include
-I./lib -D_GNU_SOURCE -DRECYCLES_PIDS -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i686 -mtune=atom -fasynchronous-unwind-tables
uname output: Linux ram.opd.local 2.6.31.12-174.2.3.fc12.i686 #1 SMP
Mon Jan 18 20:22:46 UTC 2010 i686 athlon i386 GNU/Linux
Machine Type: i386-redhat-linux-gnu
Bash Version: 4.0
Patch Level: 35
Release Status: release
Description:
When using the bash shell in an xterm or rxvt terminals at least,
commands executed which start with a space, eg " ls" are not added to
the command line history and so are not accessible by ctrl-p.
Repeat-By:
Type any command prefixed by one or more spaces. Press return. Press
Ctrl-p or type "history | tail". Observe that last command starting
with space is not in present in the command history.
Thanks,
Paul Stansell
- command not put into history if it starts with space,
Paul Stansell <=