Bug#843343: rename package does not provide same functionality as deprecated "prename" despite the claim
Matti Hamalainen
ccr+debian at tnsp.org
Sun Nov 6 01:50:35 UTC 2016
Package: rename
Version: 0.20-4
Severity: normal
Dear Maintainer,
Latest version of /usr/bin/prename (which provides "rename") provided by
package "perl" warns that "Deprecated program in use: rename as shipped with
the Debian perl package will be removed after the release of stretch. Please
install the separate 'rename' package which will provide the same command."
However, the command provided by package "rename" is not the exact same
command. For example the "-n" option functions cosmetically differently:
$ touch AbcAbc DefAbc FoobazAbc
$ prename -n 's/Abc$//' *
Deprecated program in use: rename as shipped with the Debian perl package will
be removed after the release of stretch. Please install the separate 'rename'
package which will provide the same command.
AbcAbc renamed as Abc
DefAbc renamed as Def
FoobazAbc renamed as Foobaz
$ rename -n 's/Abc$//' *
rename(AbcAbc, Abc)
rename(DefAbc, Def)
rename(FoobazAbc, Foobaz)
While the difference is cosmetic, output of "prename" feels more readable.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.7.10-grsec-qcmm-clean (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages rename depends on:
ii perl 5.24.1~rc3-3
rename recommends no packages.
rename suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list