Bug#798180: ack-grep: should not strip leading "./" from filenames

Axel Beckert abe at debian.org
Sun Sep 6 13:55:04 UTC 2015


Control: tag -1 + confirmed

Hi Jakub,

Jakub Wilk wrote:
> >>$ ls
> >>--interactive=.html
> >>$ ack -f --html --print0 ./ | xargs -0 rm -f
> >>rm: invalid argument ‘.html’ for ‘--interactive’
> >
> >What about using this?
> >
> >$ ack -f --html --print0 ./ | xargs -0 rm -f --
> 
> Yeah, but "--" is a GNUism. It works with rm, but not necessarily
> with other tools.

Good point, thanks!

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the pkg-perl-maintainers mailing list