代码搜索:BusyBox
找到约 1,719 项符合「BusyBox」的源代码
代码结果 1,719
www.eeworm.com/read/227259/4776802
cp-preserves-links
touch foo
ln -s foo bar
busybox cp -d bar baz
test -L baz
test xfoo = x`readlink baz`
www.eeworm.com/read/227259/4776840
tar-extracts-file
touch foo
tar cf foo.tar foo
rm foo
busybox tar xf foo.tar
test -f foo
www.eeworm.com/read/227259/4776855
cut-cuts-a-field
test $(echo -e "f1\tf2\tf3" | busybox cut -f 2) = f2
www.eeworm.com/read/295117/3912244
mv-moves-symlinks
touch foo
ln -s foo bar
busybox mv bar baz
test -f foo
test ! -e bar
test -L baz
www.eeworm.com/read/295117/3912269
cmp-detects-difference
echo foo >foo
echo bar >bar
set +e
busybox cmp -s foo bar
if [ $? != 0 ] ; then
exit 0;
fi
exit 1;
www.eeworm.com/read/295117/3912295
cp-preserves-links
touch foo
ln -s foo bar
busybox cp -d bar baz
test -L baz
test xfoo = x`readlink baz`
www.eeworm.com/read/295117/3912334
tar-extracts-file
touch foo
tar cf foo.tar foo
rm foo
busybox tar xf foo.tar
test -f foo
www.eeworm.com/read/295117/3912349
cut-cuts-a-field
test $(echo -e "f1\tf2\tf3" | busybox cut -f 2) = f2
www.eeworm.com/read/428548/1958902
mv-moves-symlinks
touch foo
ln -s foo bar
busybox mv bar baz
test -f foo
test ! -e bar
test -L baz