mirror of
https://github.com/radareorg/sdb.git
synced 2026-11-07 06:36:02 -10:00
26 lines
219 B
Bash
26 lines
219 B
Bash
a="`echo '
|
|
()list=one,two,tri,fur
|
|
(0)list
|
|
(0)list=foo
|
|
(0)list
|
|
(+0)list=zero
|
|
()list
|
|
' | sdb -`"
|
|
r="one
|
|
foo
|
|
zero
|
|
foo
|
|
two
|
|
tri
|
|
fur"
|
|
|
|
#echo "$a"
|
|
#echo ===
|
|
#echo "$r"
|
|
|
|
if [ "$a" = "$r" ]; then
|
|
echo "OK"
|
|
else
|
|
echo "FAIL"
|
|
fi
|