data/method/busybox/busybox-1.36.0/testsuite/strings/strings-works-like-GNU

10 lines
166 B
Plaintext
Raw Normal View History

2024-01-29 10:44:43 +08:00
rm -f foo bar
strings -af ../../busybox > foo
busybox strings -af ../../busybox > bar
set +e
test ! -f foo -a -f bar
if [ $? = 0 ] ; then
set -e
diff -q foo bar
fi