Subject: Re: bash
To: Frederick Bruckman <fb@enteract.com>
From: Steven M. Bellovin <smb@research.att.com>
List: netbsd-users
Date: 03/25/2001 16:00:14
In message <Pine.NEB.4.33.0103251451260.18365-100000@fiona.amberites.invalid>, 
Frederick Bruckman writes:
>On Sun, 25 Mar 2001, Matthias Buelow wrote:
>
>> Frederick Bruckman <fb@enteract.com> writes:
>>
>> >No directory stack (pushd, popd). Yes, I've seen implementations under
>> >ksh, but most of them are as long as the rest of my ~/.shinit file, so
>> >I just switched back to bash.
>>
>> just as an add-on hint, a sample implementation of pushd/popd/dirs
>> (not just for ksh, works with sh too) is contained in the sh-source
>> in the NetBSD source tree, in [/usr/src]/bin/sh/funcs.
>
>Hey, that's pretty neat.
>
>I'm curious about something. There's a "suspend" in there, and that's
>also a bash builtin. What's that good for? I mean, why would you ever
>want to suspend your shell?
>

I do it constantly, especially after an 'su'.


		--Steve Bellovin, http://www.research.att.com/~smb