zsh-users
 help / color / mirror / code / Atom feed
From: Aryn Starr <whereislelouch@icloud.com>
To: zsh-users@zsh.org
Subject: Help wanted with debugging a weird glob behavior
Date: Mon, 19 Aug 2019 23:52:23 +0430	[thread overview]
Message-ID: <0628A0E5-63F0-481E-AEC2-962658134620@icloud.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]

I have an album of mp3 files in `/Users/evar/my-music/Songs/Motion Picture's Soundtracks/More/Cécile Corbel - The Secret World Of Arrietty OST [FLAC]/`. I have put `/Users/evar/my-music/Songs/Motion Picture's Soundtracks/More/Cécile Corbel - The Secret World Of Arrietty OST [FLAC]/20 - Cécile Corbel - Arrietty's Song (original Japanese version).flac` in the file `path` (to help with reproducibility of the bug)(file accessible at https://git.io/fjF98 <https://git.io/fjF98>).

You can see that the address saved in `path` is valid and points to a file:

```
~/TMP/zbug
$ exa -a --oneline "$(cat path)"
/Users/evar/my-music/Songs/Motion Picture's Soundtracks/More/Cécile Corbel - The Secret World Of Arrietty OST [FLAC]/20 - Cécile Corbel - Arrietty's Song (original Japanese version).flac
```

But when I get the dirname of that path and do a glob on it, zsh doesn’t find any match:

```
~/TMP/zbug
$ ec "${$(cat path):h}"/*(D)
zsh: no matches found: /Users/evar/my-music/Songs/Motion Picture's Soundtracks/More/Cécile Corbel - The Secret World Of Arrietty OST [FLAC]/*(D)
```

I have tested this with `zsh -f`, and the bug is not present there. How can I find what in my config is causing this?



             reply	other threads:[~2019-08-19 19:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-19 19:22 Aryn Starr [this message]
2019-09-17 15:30 ` Mikael Magnusson
     [not found] <0628A0E5-63F0-481E-AEC2-962658134620__9154.55124793283$1566242642$gmane$org@icloud.com>
2019-08-20  7:37 ` Stephane Chazelas
     [not found]   ` <227BE55C-4B7E-4CAD-B212-D48F663BC09D@icloud.com>
2019-08-20  8:21     ` Stephane Chazelas
2019-08-20  8:47       ` Roman Perepelitsa
2019-08-20  9:02       ` Aryn Starr
     [not found]       ` <A227EBEE-60CC-460D-BBAD-D5E0A3386B4B__40377.5387721666$1566291837$gmane$org@icloud.com>
2019-08-20 11:04         ` Stephane Chazelas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0628A0E5-63F0-481E-AEC2-962658134620@icloud.com \
    --to=whereislelouch@icloud.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).