Issue #11641 has been reported by Ryan Koppenhaver.

----------------------------------------
Bug #11641: ruby(1) manpage shows extraneous space for -F option
https://bugs.ruby-lang.org/issues/11641

* Author: Ryan Koppenhaver
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
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.




-- 
https://bugs.ruby-lang.org/