-
Notifications
You must be signed in to change notification settings - Fork 94
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
[BUG] /usr/bin/echo eats "-E", but amber does not handle the case #619
Comments
This comment was marked as outdated.
This comment was marked as outdated.
What is the bash generated? |
amber (Edited: |
amber One solution I can think is replacing |
"-E"
"-E"
"-E"
@hdwalters what do you think? |
This is also feasible: $ env POSIXLY_CORRECT=1 echo -e
-e https://discord.com/channels/1235872011603939328/1235872012354977884/1310658141540843563 |
Describe the bug
/usr/bin/echo eats the token
"-E"
because it seems to be [SHORT-OPTION] of echo. So the next things happen:echo "-E"
prints nothing.let flag = "-E"
setsflag
as""
To Reproduce
The both commands print nothing.
Expected behavior
-E
should be printed.Additional context
Because of this, the next
flag
is set as"-r"
or""
, so that thereplace_regex
does not work as expected.amber/src/std/text.ab
Line 23 in cba1671
The text was updated successfully, but these errors were encountered: