🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #1175

Bash: unwanted misfeature; wanted features

#1175
From: Charles Karney
Date: Tue, 27 Feb 1990 20:48
21 lines
1379 bytes
bash 1.04, Sun OS 4.0.3, SPARCstation, gcc-compiled...

My home directory is /u/karney.  This is a symbolic link to /usr1/karney.
/etc/passwd lists my shell as /bin/bash.  When I log in, PWD is
/usr1/karney.  I think it should be /u/karney.  Similarly whenever I create
a new subshell the links are followed (effectively making PWD=`pwd`).

Next two features are suggested by tcsh:

I'd like to be able to specify a command to be run on every cd, pushd,
popd.  (So I can put the current directory into the title of my xterm
window.)

I'd like pushd +n to rotate the top n+1 elements of dirs by 1.  (Currently
it rotates all the elements by -n.)  That way useless directories migrate
to the end of dirs.

   Charles Karney
   Plasma Physics Laboratory	  E-mail:  Karney@ccc.nmfecc.gov
   Princeton University		  Phone:   +1 609 243 2607
   Princeton, NJ 08543-0451	  FAX:	   +1 609 243 2160
Technical Details
Message-ID: <9002272048.AA02528@SS01.PPPL.GOV>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CCC.NMFECC.GOV!karney%SS01.PPPL.GOV

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CCC.NMFECC.GOV!karney%SS01.PPPL.GOV
From: karney%SS01.PPPL.GOV@CCC.NMFECC.GOV (Charles Karney)
Newsgroups: gnu.bash.bug
Subject: Bash: unwanted misfeature; wanted features
Message-ID: <9002272048.AA02528@SS01.PPPL.GOV>
Date: 27 Feb 90 20:48:45 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: Karney@ccc.nmfecc.gov
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 21