You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backtick strings aren't necessarily a "Bashism" - they've been added to Javascript in 2016 (but serve as multi-line + interpolation strings rather than raw strings). I'd dare suggest more people are aware of the JS backtick strings than the Bash ones by now.
Any updates on this? I feel that backtick strings are a bit confusing right now specifically because of how they are interpreted as a command to execute in the context of things like let bindings. I would prefer these cases being separate, and having some explicit "raw string" concept like Rusts r"<string contents>" syntax which always produces a string value.
Activity
webbedspace commentedon Nov 9, 2022
Backtick strings aren't necessarily a "Bashism" - they've been added to Javascript in 2016 (but serve as multi-line + interpolation strings rather than raw strings). I'd dare suggest more people are aware of the JS backtick strings than the Bash ones by now.
e-codes-stuff commentedon Mar 15, 2023
Any updates on this? I feel that backtick strings are a bit confusing right now specifically because of how they are interpreted as a command to execute in the context of things like
letbindings. I would prefer these cases being separate, and having some explicit "raw string" concept like Rustsr"<string contents>"syntax which always produces a string value.add raw-string literal support (#9956)