代码搜索:BusyBox
找到约 1,719 项符合「BusyBox」的源代码
代码结果 1,719
www.eeworm.com/read/250015/4443397
cp-copies-small-file
echo I WANT > foo
busybox cp foo bar
cmp foo bar
www.eeworm.com/read/250015/4443428
mkdir-makes-parent-directories
busybox mkdir -p foo/bar
test -d foo -a -d foo/bar
www.eeworm.com/read/250015/4443458
cat-prints-a-file
echo I WANT > foo
busybox cat foo >bar
cmp foo bar
www.eeworm.com/read/227259/4776711
wc-prints-longest-line-length
test `echo i\'m a little teapot | busybox wc -L` -eq 19
www.eeworm.com/read/227259/4776712
wc-counts-lines
test `echo i\'m a little teapot | busybox wc -l` -eq 1
www.eeworm.com/read/227259/4776713
wc-counts-all
test "`echo i\'m a little teapot | busybox wc`" = ' 1 4 20'
www.eeworm.com/read/227259/4776714
wc-counts-words
test `echo i\'m a little teapot | busybox wc -w` -eq 4
www.eeworm.com/read/227259/4776715
wc-counts-characters
test `echo i\'m a little teapot | busybox wc -c` -eq 20
www.eeworm.com/read/227259/4776729
mv-moves-file
touch foo
busybox mv foo bar
test ! -f foo -a -f bar
www.eeworm.com/read/227259/4776791
dd-copies-from-standard-input-to-standard-output
test "$(echo I WANT | busybox dd 2>/dev/null)" = "I WANT"