-
Notifications
You must be signed in to change notification settings - Fork 11
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
Does not work with -s switch #51
Comments
Interesting, this is the first time I've seen -s in working. I'm not sure I will be able to fix this though; as far as I know I can't access/modify the way -s works 😞
|
I don't think this can be fixed. And quite frankly, people shouldn't be using |
I also thought it was something like a bug in perl. I think it should work with -CA option. Maybe it is necessary to send a bug report, but I don't really use perl very often. @Leont It's not for perl scripts. This method, like the corresponding option in awk, is used to pass arguments from the shell script to the perl command used in the script. It's just a way to avoid a nightmare with single and double quotes. I use perl instead of sed and awk because of perl regular expressions. |
Linux Mint 20
Package: libutf8-all-perl
Version: 0.024-1
This does not work either:
perl -CASD -Mutf8 -Mv5.30 -sle 'print $v' -- -v=привет
This works:
By the way:
and
The text was updated successfully, but these errors were encountered: