🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #692

bug & suggestion

#692
From: Chris Thewalt
Date: Fri, 10 Nov 1989 21:53
20 lines
1291 bytes
(I just sent this but forgot to add version information, tried to kill
the letter, but don't know if I was successful)

[bash-1.04 on Microvax II runiing Ultrix2.2]

Hello, I have one bug to report and one suggestion.  The bug is that the
history variable !* is expanding to the first word of the previous
string if it consisted of only one word, rather than a null string. After
an ls, for instance, I would expect a null for !*, but get ls. On multiword
items !* works as documented.

The suggestion involves adding one more special character to the
decode_prompt_string function. It would be nice to have the basename
of the current working directory (the part after the final /). The
current working directory is nice, but gets rather long...

Otherwise, this looks great, best command line editing I've see in a shell.

	   Chris (thewalt@ce.cmu.edu)
------- End of Forwarded Message
Technical Details
Message-ID: <8911102153.AA28987@RITZ.CIVE.CMU.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!RITZ.CIVE.CMU.EDU!thewalt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!RITZ.CIVE.CMU.EDU!thewalt
From: thewalt@RITZ.CIVE.CMU.EDU (Chris Thewalt)
Newsgroups: gnu.bash.bug
Subject: bug & suggestion
Message-ID: <8911102153.AA28987@RITZ.CIVE.CMU.EDU>
Date: 10 Nov 89 21:53:03 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 20