From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: "Lawrence Velázquez" <larryv@zsh.org>
Cc: Zach Riggle <zachriggle@gmail.com>, zsh-users@zsh.org
Subject: Re: Globbing symlinks-to-${glob_qualifier}
Date: Thu, 19 Aug 2021 13:23:21 +0000 [thread overview]
Message-ID: <20210819132321.GA17820@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <55c3a12f-fa4e-48f0-813c-b5e60c3aab8d@www.fastmail.com>
Lawrence Velázquez wrote on Thu, Aug 19, 2021 at 00:38:11 -0400:
> ...but it would be more accurate if it said "the files they fully
> resolve to". So *(@-@) doesn't give you symlinks that themselves
> point to symlinks, it gives you symlinks that *fully resolve to
> symlinks*. AFAICT this only produces results when the symlink chain
> is broken.
>
Also when there's a symlink loop:
% ln -s foo foo
% echo foo(@-@)
foo
next prev parent reply other threads:[~2021-08-19 13:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-18 3:27 Zach Riggle
2021-08-18 3:57 ` Daniel Shahaf
2021-08-18 4:02 ` Bart Schaefer
2021-08-18 13:10 ` Zach Riggle
2021-08-18 15:24 ` Bart Schaefer
2021-08-18 16:48 ` Ray Andrews
2021-08-18 17:23 ` Bart Schaefer
2021-08-18 17:55 ` Ray Andrews
2021-08-18 22:28 ` Which options are really doing anything (Re: Globbing symlinks-to-${glob_qualifier}) Bart Schaefer
2021-08-18 23:27 ` Ray Andrews
2021-08-19 2:32 ` Globbing symlinks-to-${glob_qualifier} Zach Riggle
2021-08-19 4:38 ` Lawrence Velázquez
2021-08-19 13:23 ` Daniel Shahaf [this message]
2021-08-19 13:25 ` Daniel Shahaf
2021-08-19 14:38 ` Ray Andrews
2021-08-19 13:54 ` Daniel Shahaf
2021-08-19 4:40 ` Bart Schaefer
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=20210819132321.GA17820@tarpaulin.shahaf.local2 \
--to=d.s@daniel.shahaf.name \
--cc=larryv@zsh.org \
--cc=zachriggle@gmail.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).