mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-09 23:11:41 +00:00
59 lines
507 B
Plaintext
59 lines
507 B
Plaintext
NAME=.- (edit, source tmp file)
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
e cfg.editor=/bin/true
|
|
.-
|
|
EOF
|
|
EXPECT=<<EOF
|
|
EOF
|
|
RUN
|
|
|
|
NAME=.?e ?e
|
|
FILE=--
|
|
CMDS=<<EOF
|
|
.?e ?e hello world
|
|
EOF
|
|
EXPECT=<<EOF
|
|
hello world
|
|
EOF
|
|
RUN
|
|
|
|
NAME=.spp
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
. bins/src/r2test.spp
|
|
EOF
|
|
EXPECT=<<EOF
|
|
Test
|
|
hello world
|
|
Eron
|
|
|
|
EOF
|
|
RUN
|
|
|
|
NAME=$foo=#!pipe
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
#!pipe echo hello
|
|
$foo=#!pipe echo hello
|
|
$foo
|
|
?e --
|
|
"$foo=#!pipe echo hello"
|
|
$foo
|
|
?e --
|
|
$-*
|
|
$foo=\#!pipe echo hello
|
|
$foo
|
|
?e --
|
|
$-*
|
|
EOF
|
|
EXPECT=<<EOF
|
|
hello
|
|
--
|
|
hello
|
|
--
|
|
hello
|
|
--
|
|
EOF
|
|
RUN
|