We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
First of all, thank you all for your amazing work and precious time. ❤️
When using a semicolon ; in a parameter expansion, it causes a parsing ERROR, although it should not:
;
From playground :
In:
${a:+$a;}
Out:
program [0, 0] - [1, 0] ERROR [0, 0] - [0, 9] variable_name [0, 2] - [0, 3] simple_expansion [0, 5] - [0, 7] variable_name [0, 6] - [0, 7]
In (note the space after ;:
${a:+$a; }
program [0, 0] - [1, 0] command [0, 0] - [0, 10] name: command_name [0, 0] - [0, 10] expansion [0, 0] - [0, 10] variable_name [0, 2] - [0, 3] concatenation [0, 5] - [0, 9] simple_expansion [0, 5] - [0, 7] variable_name [0, 6] - [0, 7] ERROR [0, 7] - [0, 8] word [0, 8] - [0, 9]
The error occurs also when ; is not the last character in the default word. When ; is a prefix or suffix pattern, it seems to be fine.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
First of all, thank you all for your amazing work and precious time. ❤️
When using a semicolon
;
in a parameter expansion, it causes a parsing ERROR, although it should not:From playground :
Example 1
In:
Out:
Example 2
In (note the space after
;
:Out:
The error occurs also when
;
is not the last character in the default word.When
;
is a prefix or suffix pattern, it seems to be fine.The text was updated successfully, but these errors were encountered: