Subject: Re: bash
To: None <netbsd-users@netbsd.org>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-users
Date: 03/25/2001 14:53:49
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?
Frederick