* core/cmd: Adjust math commands * shell: make `?x` commands a parsing failure We have moved the `?x` commands to `%x`, thus now no command should start with `?`. This patch makes the parser fail to parse `?x` strings. * core/tui: use APIs in panels * There's no `%q` anymore, use `%=`
40 lines
564 B
Text
40 lines
564 B
Text
============================
|
|
Escape special command chars
|
|
============================
|
|
|
|
pd 10\@test\>name
|
|
|
|
---
|
|
|
|
(statements
|
|
(arged_stmt
|
|
command: (cmd_identifier)
|
|
args: (args (arg (arg_identifier)))))
|
|
|
|
|
|
====================
|
|
Use newlines in echo
|
|
====================
|
|
|
|
echo "Hello\nWorld"
|
|
|
|
---
|
|
|
|
(statements
|
|
(arged_stmt
|
|
command: (cmd_identifier)
|
|
args: (args (arg (double_quoted_arg)))))
|
|
|
|
|
|
===========
|
|
Escape hash
|
|
===========
|
|
|
|
echo Hello\#World
|
|
|
|
---
|
|
|
|
(statements
|
|
(arged_stmt
|
|
command: (cmd_identifier)
|
|
args: (args (arg (arg_identifier)))))
|