[Pkg-zsh-devel] Bug#875460: zsh: RM_STAR warning counts files as though DOT_GLOB is set

Maxime “pep” Buquet pep at collabora.com
Mon Sep 11 15:20:20 UTC 2017


On 2017/09/11, Daniel Shahaf wrote:
> Control: retitle -1 zsh: RM_STAR warning counts files as though DOT_GLOB is set
> Control: found -1 5.4.1-1+b1
> 
> Maxime “pep” Buquet wrote on Mon, Sep 11, 2017 at 15:34:36 +0100:
> > Just ran into zsh giving me a slightly off count during the
> > confirmation of `rm *`. The count matches the number of files (including
> > dotfiles), but the actual number of erased files is 4 not 19.
> 
> Thanks for the report.  I can reproduce this with upstream 5.4.2 (not
> yet packaged):
> 
> $ zsh -f
> % cd $(mktemp -d)
> % touch ./foo ./.bar 
> % rm *
> zsh: sure you want to delete all 2 files in /tmp/tmp.65xnqgzMAY [yn]? y
> % 
> % ls -A
> .bar
> % echo $ZSH_PATCHLEVEL
> zsh-5.4.2-1-gab6ac7313
> 
> > Not sure what else to include, please poke me if you need more
> > information.
> 
> For future reference, a descriptive subject line would have been
> helpful.  I've fixed this for you now.

Sorry for the subject line, I meant to edit it before sending but I
splipped!

> I'll forward this upstream.

Thanks!

-- 
Maxime “pep” Buquet
Collabora Ltd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel/attachments/20170911/137d1870/attachment.sig>


More information about the Pkg-zsh-devel mailing list