New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOC] Doc for command line options #10059
Conversation
doc/command_line/environment.md
Outdated
each in the range `0..7`; | ||
these digits are prefixed with digit `0` to form an octal value: | ||
|
||
- If that value is in range `(0..0377)`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- If that value is in range `(0..0377)`, | |
- If that value is `0`, the input record separator is `""`; | |
see {Special Line Separator Values}[rdoc-ref:IO@Special+Line+Separator+Values]. | |
- If that value is in range `(1..0377)`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revised.
doc/command_line/environment.md
Outdated
$ ruby -W1 -e 'p $foo' | ||
nil | ||
$ ruby -W2 -e 'p $foo' | ||
-e:1: warning: global variable `$foo' not initialized |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The quote has changed recently.
-e:1: warning: global variable `$foo' not initialized | |
-e:1: warning: global variable '$foo' not initialized |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixedd.
Doc for certain Ruby command-line options that affect the program's environment.