On 4/21/17 1:36 PM, Chet Ramey wrote:
> I think the key takeaway is that this is trivial to do with a shell
> function, even if you want to add argument parsing (use getopts) and
> pass all the option arguments except -v to the builtins.
On second thought, don't use getopts.
--
``The lyf so sho
On 4/21/17 11:48 AM, Pete Smith wrote:
> It appears to me that the sub shell does inherit the dirs stack, but any
> changes that are made to the dir stack remain
> in the sub shell and do not propagate back to the parent shell.
Correct; it's a separate process.
> Does the exchanges of your imple
Am clearly out of my league in these exchanges about possible
implementation. Nevertheless am heartened by
seeing these exchanges.
As to the question that came up in the dialogue:
> Um... don't you mean to use the alias command somewhere, like:
>
> alias popd='builtin popd|tr " " "\n"'
I defined