Red Hat Bugzilla – Bug 71186
Bash p modifier not working when accessing history
Last modified: 2007-04-18 12:45:23 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722
Description of problem:
When trying to access the bash history with the !<string> command, the p
modifier does not work
Version-Release number of selected component (if applicable):
GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu)
Copyright (C) 2002 Free Software Foundation, Inc.
Steps to Reproduce:
1.Type a command, ie: uname -m
2.Now type !una:p
Actual Results: -bash: !una:p: event not found
Expected Results: uname -m
should have been printed, but not executed.
This was working fine in previous versions of Redhat (both 7.2 and 7.3 show the
Fixed package is bash-2.05b-4.
Fix confirmed with bash-2.05b-4.