On 7/17/26 1:12 AM, Marcus Johansson via Bug reports for the GNU Bourne
Bash Version: 5.3 Patch Level: 15 Release Status: releaseDescription: I can add a non existing directory using pushd by doing following: pushd -n dir This will add the directory 'dir' at position 1 in the stack even though it does not exist
I guess it's in the eye of the beholder. `pushd' and `popd' don't verify
the existence of any of the directories -- it's just a stack. They rely
on the implicit `cd' to do that. If you suppress the `cd' and just
manipulate the stack, there's no verification step.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
