command line option -F is not working on Windows cmd
----------------------------------------------------
Key: JRUBY-3681
URL: http://jira.codehaus.org/browse/JRUBY-3681
Project: JRuby
Issue Type: Bug
Components: Windows
Affects Versions: JRuby 1.2
Environment: Windows XP
Reporter: Zemian Deng
The following work on Windows with native Ruby:
{{
D:\>ruby -e "5.times{ printf(\"%.3f @ %d\n\", rand, rand(100)) }" | ruby -naF"@
" -e "puts $F[1]"
70
33
23
12
53
}}
But when running with jruby, I get this:
{{
D:\>jruby -e "5.times{ printf(\"%.3f @ %d\n\", rand, rand(100)) }" | jruby
-naF"@ " -e "puts $F[1]"
jruby: unknown option -naF@
}}
I tried many way to use the -F option but could not get it to accept. Is this a
bug?
Thanks,
Zemian
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email