The commands work fine, and one understands pretty easily while playing
with them how the stack works.
There are just ambiguities in the manual.
Check the pushd builtin command documentation.
"
`pushd'
pushd [-n] [+N | -N | DIR]
Save the current directory on the top of the direct
On 8/14/15 6:08 AM, Tim Nielens wrote:
> Bash Version: 4.3
> Patch Level: 39
> Release Status: release
>
> Description:
> There is a ambiguity about the directory stack in the manual: 6.8.1
> Directory Stack Builtins
>
> It's difficult to understand if the current directory is part of the stack
On Fri, Aug 14, 2015 at 12:08:07PM +0200, Tim Nielens wrote:
> Within the whole manual node, it's never clear whether the directory stack
> includes the current directory or not.
imadev:~$ bash
imadev:~$ popd
bash: popd: directory stack empty
imadev:~$ dirs
~
*shrug* I don't use these commands, s
Machine: x86_64
OS: cygwin
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='x86_64-unknown-cygwin'
-DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H -DRECYCLES_PIDS -I.
-I/usr/sr