rizin/subprojects/rizin-shell-parser/corpus/escape_args.txt
Riccardo Schirone 9d68e9614f
Fix old math commands (#3828)
* 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 `%=`
2023-09-14 08:53:25 +08:00

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)))))