Bug 52341 - erroneous example in "rename" man page
Summary: erroneous example in "rename" man page
Status: RESOLVED INVALID
Alias: None
Product: Documentation
Classification: Unclassified
Component: man-pages (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: documentation_man-pages@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-04 22:33 UTC by Wendy
Modified: 2013-01-12 08:58 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Wendy 2013-01-04 22:33:37 UTC
util-linux-2.22.2/misc-utils/rename.1 includes the text:

.SH EXAMPLES
Given the files
.IR foo1 ", ..., " foo9 ", " foo10 ", ..., " foo278 ,
the commands
.RS
.PP
.nf
rename foo foo0 foo?
rename foo foo0 foo??
.fi
.PP
.RE
will turn them into
.IR foo001 ", ..., " foo009 ", " foo010 ", ..., " foo278 .

     This is not what those two commands will actually do.  To produce
the described result, the first command, instead of:

rename foo foo0 foo?

should be:

rename foo foo00 foo?
Comment 1 Michael Kerrisk 2013-01-05 10:45:36 UTC
This page is in another package. See

http://www.kernel.org/doc/man-pages/man_pages_other.html
Comment 2 Wendy 2013-01-12 02:33:47 UTC
Thanks for the link.  The man page in question says, near the end, "The rename command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/."

If this Bugzilla is not the correct place to report bugs on packages distributed by kernel.org, can you please point me to the place that is?
Comment 3 Michael Kerrisk 2013-01-12 08:58:02 UTC
http://en.wikipedia.org/wiki/Util-linux

Note You need to log in before you can comment on or make changes to this bug.