代码搜索:BusyBox
找到约 1,719 项符合「BusyBox」的源代码
代码结果 1,719
www.eeworm.com/read/418008/2095258
cp-a-preserves-links
touch foo
ln -s foo bar
busybox cp -a bar baz
test -L baz
test xfoo = x`readlink baz`
www.eeworm.com/read/418008/2095300
tar-extracts-to-standard-output
echo foo > foo
tar cf foo.tar foo
cat foo.tar | busybox tar Ox | cmp foo -
www.eeworm.com/read/135153/5887703
c dpkg.c
/*
* Mini dpkg implementation for busybox.
* This is not meant as a replacemnt for dpkg
*
* Written By Glenn McGrath with the help of others
* Copyright (C) 2001 by Glenn McGrath
*
* St
www.eeworm.com/read/250015/4443351
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/250015/4443378
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/250015/4443405
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/250015/4443444
tar-extracts-file
touch foo
tar cf foo.tar foo
rm foo
busybox tar xf foo.tar
test -f foo
www.eeworm.com/read/250015/4443460
cut-cuts-a-field
test $(echo -e "f1\tf2\tf3" | busybox cut -f 2) = f2
www.eeworm.com/read/227259/4776721
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/227259/4776746
cmp-detects-difference
echo foo >foo
echo bar >bar
set +e
busybox cmp -s foo bar
if [ $? != 0 ] ; then
exit 0;
fi
exit 1;