* Re: Bug#202203: symlink globbing
[not found] ` <20040328160647.GA19244@nevyn.them.org>
@ 2004-03-28 16:20 ` Clint Adams
2004-03-28 16:32 ` Clint Adams
2004-03-29 1:28 ` Geoff Wing
0 siblings, 2 replies; 3+ messages in thread
From: Clint Adams @ 2004-03-28 16:20 UTC (permalink / raw)
To: zsh-workers; +Cc: Daniel Jacobowitz, 202203-forwarded
mkdir -p /tmp/globtest/{broken,real}
ln -s /nonexistent_file /tmp/globtest/broken/blah
touch /tmp/globtest/real/blah
print /tmp/globtest/*/blah
The broken symlink name is not printed unless MARK_DIRS is set. Does
this make sense?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug#202203: symlink globbing
2004-03-28 16:20 ` Bug#202203: symlink globbing Clint Adams
@ 2004-03-28 16:32 ` Clint Adams
2004-03-29 1:28 ` Geoff Wing
1 sibling, 0 replies; 3+ messages in thread
From: Clint Adams @ 2004-03-28 16:32 UTC (permalink / raw)
To: zsh-workers; +Cc: Daniel Jacobowitz, 202203-quiet
> The broken symlink name is not printed unless MARK_DIRS is set. Does
(Or the M or T glob qualifiers are used; those enable the "following" of
symlinks).
I think that the symlink name should be printed, at least in sh
emulation.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug#202203: symlink globbing
2004-03-28 16:20 ` Bug#202203: symlink globbing Clint Adams
2004-03-28 16:32 ` Clint Adams
@ 2004-03-29 1:28 ` Geoff Wing
1 sibling, 0 replies; 3+ messages in thread
From: Geoff Wing @ 2004-03-29 1:28 UTC (permalink / raw)
To: zsh-workers
Clint Adams <schizo@debian.org> typed:
: mkdir -p /tmp/globtest/{broken,real}
: ln -s /nonexistent_file /tmp/globtest/broken/blah
: touch /tmp/globtest/real/blah
:
: print /tmp/globtest/*/blah
:
: The broken symlink name is not printed unless MARK_DIRS is set. Does
: this make sense?
Works for me (4.2.0 on NetBSD).
% zsh -f
% print /tmp/globtest/*/blah
/tmp/globtest/broken/blah /tmp/globtest/real/blah
Regards,
--
Geoff Wing : <gcw@pobox.com>
Rxvt Stuff : <gcw@rxvt.org>
Zsh Stuff : <gcw@zsh.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-03-29 1:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20040328141950.GA10324@scowler.net>
[not found] ` <20040328160647.GA19244@nevyn.them.org>
2004-03-28 16:20 ` Bug#202203: symlink globbing Clint Adams
2004-03-28 16:32 ` Clint Adams
2004-03-29 1:28 ` Geoff Wing
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).