mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
[DOC] Describe $F
This variation is used when `-a` option is given.
This commit is contained in:
parent
1e7373ef30
commit
1cad20e2d5
Notes:
git
2025-12-05 08:29:41 +00:00
@ -79,6 +79,7 @@ require 'English'
|
||||
| `$-i` | | Extension given with command-line option `-i`. |
|
||||
| `$-l` | | Whether option `-l` was given. |
|
||||
| `$-p` | | Whether option `-p` was given. |
|
||||
| `$F` | | Array of `$_` split by `$-F`. |
|
||||
|
||||
## Exceptions
|
||||
|
||||
@ -378,6 +379,12 @@ Whether command-line option `-l` was set; read-only.
|
||||
|
||||
Whether command-line option `-p` was given; read-only.
|
||||
|
||||
### `$F`
|
||||
|
||||
If the command line option `-a` is given, the array obtained by
|
||||
splitting `$_` by `$-F` is assigned at the start of each `-l`/`-p`
|
||||
loop.
|
||||
|
||||
## Deprecated
|
||||
|
||||
### `$=`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user