🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #849

ksh style history

#849
From: David Becker
Date: Sat, 20 Jan 1990 16:36
9 lines
829 bytes
How do I make bash emulate the ksh 'r' history mechanism?

The histchars variable description sounds like it would grab any r not
just if it is the first character on the line.

bash has saved me from the dreaded csh but it still uses !'s.

In ksh r is the builtin alias is r='fc -e -'
David Becker  beckerd@cs.unc.edu
Technical Details
Message-ID: <11549@thorin.cs.unc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!shelby!mcnc!thorin!grover!beckerd

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!shelby!mcnc!thorin!grover!beckerd
From: beckerd@grover.cs.unc.edu (David Becker)
Newsgroups: gnu.bash.bug
Subject: ksh style history
Summary: I want r
Message-ID: <11549@thorin.cs.unc.edu>
Date: 20 Jan 90 16:36:35 GMT
Sender: daemon@thorin.cs.unc.edu
Reply-To: beckerd@grover.cs.unc.edu (David Becker)
Distribution: na
Organization: University Of North Carolina, Chapel Hill
Lines: 9