Incorrect example in rename (perl version) man page
Bug #1768150 reported by
Mathieu Dubois
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libfile-rename-perl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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).
tags: | added: manpage xenial |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.