Bug#885103: rename: "-n" option is ignored
Dominic Hargreaves
dom at earth.li
Sun Dec 24 19:49:26 UTC 2017
On Sat, Dec 23, 2017 at 09:02:04PM +0100, Peter De Wachter wrote:
> Package: rename
> Version: 0.20-6
> Severity: important
>
> rename ignores the '-n' option if it's not specified first on the command line:
>
> $ touch a
> $ rename s/a/b/ -n a
> $ ls -l a
> ls: cannot access 'a': No such file or directory
>
> This is different from how the 'rename' command behaves in Debian stable.
The implementation has changed, but the documented use of rename in
Debian has always been that -n should be provided before the file list.
I don't see us changing the behaviour of the new implementation to
support these undocumented calling semantics.
Best,
Dominic.
More information about the pkg-perl-maintainers
mailing list