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
-F and literal whitespace in the pattern #16183
Comments
From @epaCreated by @epaThe documentation for -F in perlrun has the enigmatic note You can't use literal whitespace in the pattern. But what does this mean? A literal space seems to be equivalent to empty string: % echo 'hello bob' | perl '-F ' -anE 'say $F[1]' But a literal tab character (shown as T in the code below) gives a weird error: % echo 'hello bob' | perl '-FT' 'say $F[1]' This bug report is for two suggestions. First, the argument parsing Second, since currently literal whitespace is not allowed in the Alternatively, if the pattern contains literal whitespace this could Perl Info
|
Migrated from rt.perl.org#132218 (status was 'new')
Searchable as RT132218$
The text was updated successfully, but these errors were encountered: