News for hackers. Stuff that matters.
Re:Something about functions in Bash (2017) by madmulita on Friday July 06, 2018 @09:01AM (#17471018)
Why don't we have something similar to vi modes to jump between different 'interpretations'? I believe scsh had something to that effect using chars to switch modes ala quote/unquote.

Maybe something based on Color Forth's ideas?

Re:Something about functions in Bash (2017) by laumars on Friday July 06, 2018 @09:08AM (#17471062)
Because that wouldn't work for copying and pasting code nor writing shell scripts. If you're going down that route then really you need a printable character to prefix the command line (or similar solution)

For what it's worth though, most shells (including my own one) do support switching between different text entry / hotkey modes - such as vi - even if the syntax is consistent.