Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14908 > unrolled thread
| Started by | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| First post | 2018-12-12 11:49 -0500 |
| Last post | 2018-12-12 11:49 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Chet Ramey <chet.ramey@case.edu> - 2018-12-12 11:49 -0500
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Date | 2018-12-12 11:49 -0500 |
| Subject | Re: |
| Message-ID | <mailman.5637.1544633405.1284.bug-bash@gnu.org> |
On 12/12/18 11:36 AM, Valentin Bajrami wrote:
> While playing around a bit with dotglob and nullglob the following testcase
> seem to fail when cd'ing to a non existing directory. The shell seems to
> hang there and sending a SIGINT isn't having much effect.
>
> f3d0r4:~$ pwd
> /home/valentin.local
> f3d0r4:~$ shopt -s nullglob dotglob
> f3d0r4:~$ f=(*)
> f3d0r4:~$ (( ${#f[*]} )) || printf '%s\n' "This dir is empty"
> f3d0r4:~$ echo "$BASH_VERSION"
> 4.4.23(1)-release
> f3d0r4:~$ cd ../Nonexistingdir
> bash: cd: ../Nonexistingdir: No such file or directory
> ^C
> ^C
> cd Desktop/
> f3d0r4:~/Desktop$
I can't reproduce it. I suppose something similar could happen if /home
is on an NFS-mounted file system.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to top | Article view | gnu.bash.bug
csiph-web