🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #34

history numbers are wrong

#34
From: Roland McGrath
Date: Wed, 21 Jun 1989 03:59
4 lines
649 bytes
The history number displayed by \# in PS1 does not correspond
to the numbers used in ! history references or the `history' builtin.
The numbers given by \# start at 1 with each bash invocation,
while the real history numbers start at the beginning of .bash_history.
Technical Details
Message-ID: <8906210400.AA08380@hobbes.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!AI.MIT.EDU!roland

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!AI.MIT.EDU!roland
From: roland@AI.MIT.EDU (Roland McGrath)
Newsgroups: gnu.bash.bug
Subject: history numbers are wrong
Message-ID: <8906210400.AA08380@hobbes.ai.mit.edu>
Date: 21 Jun 89 03:59:59 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 4