bug-bash
[Top][All Lists]
Advanced

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

possible history bug?


From: Greg Whynott
Subject: possible history bug?
Date: Thu, 31 Aug 2006 12:16:33 -0400
User-agent: Thunderbird 1.5.0.5 (X11/20060719)

discovered something interesting while using the bash shell.  It seems
to work with tcsh so perhaps its not a bash bug at all..

anyway..  the "history" service will not pick up commands which have a
few spaces placed in front of them.

eg:
torproxy:~ # history | tail -5
   63  cd
   64  ls
   65  history
   66  echo $SHELL
   67  history | tail -5

torproxy:~ #     history | tail -6
   62  ls
   63  cd
   64  ls
   65  history
   66  echo $SHELL
   67  history | tail -5
torproxy:~ #



SLES 10 on i386.

bash --version
GNU bash, version 3.1.17(1)-release (i586-suse-linux)



--
Greg Whynott|IDTe Toronto|Systems and Networks
489 Queen Street E, Toronto, Ontario,  M5A 1V1






reply via email to

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