On Sat, Jan 21, 2023 at 06:24:10AM -0500, Douglas Lewan wrote:
> The bash built-in pushd doesn't seem to be able to handle spaces well in
> directory names. It goes into an infinite loop with lots of errors. (Perhaps
> not infinite, but I'm never patient enough to wait.)
>
> A common circumstance is when I receive archives from my friends who use
> Windows. Such archives very often have New Folder as the top folder, and
> pushd never handles that nicely.
unicorn:~$ mkdir 'New Folder'
unicorn:~$ pushd 'New Folder'
~/New Folder ~
unicorn:~/New Folder$ popd
~
unicorn:~$
Can you show us how to reproduce your problem? You might also wish to
echo "$BASH_VERSION".