Actions
Bug #11641
closedruby(1) manpage shows extraneous space for -F option
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
Description
The manual page for the ruby executable describes the -F option as:
-F pattern Specifies input field separator ($;).
This (and the corresponding item in the synopsis) should be -Fpattern
, with no space. The output of ruby --help
correctly omits the space.
Demonstration of Ruby's actual behavior:
$ echo 'axb' | ruby -Fx -lane 'p $F'
["a", "b"]
$ echo 'axb' | ruby -F x -lane 'p $F'
ruby: No such file or directory -- x (LoadError)
I have not reproduced this with a build of the latest ruby from svn, but trunk/man/ruby.1 has not been changed since before my version was built.
Actions
Like0
Like0