← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 1768150] [NEW] Incorrect example in rename (perl version) man page

 

Public bug reported:

The man page for rename(1p) states that:

  rename 's/\e.bak$//' *.bak

will rename all files matching "*.bak" to strip the ".bak" extension
(see attachment).

This example doesn't work as the '\e' is not needed at all.

This affects at least the version in Ubuntu 16.04 (but not the version
in 14.04).

** Affects: libfile-rename-perl (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Man page"
   https://bugs.launchpad.net/bugs/1768150/+attachment/5131083/+files/rename.txt

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libfile-rename-perl in Ubuntu.
https://bugs.launchpad.net/bugs/1768150

Title:
  Incorrect example in rename (perl version) man page

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libfile-rename-perl/+bug/1768150/+subscriptions


Follow ups