misc

来自「实战Linux编程的原代码,希望对学驱动的人能有所帮助」· 代码 · 共 24 行

TXT
24
字号
#!/bin/shtmp_in=dd-in.$$tmp_out=dd-out.$$if test "$VERBOSE" = yes; then  set -x  dd --versionfitest_failure=0echo data > $tmp_in || test_failure=1if test $test_failure = 1; then  echo 'failure in testing framework'  exit 1fidd if=$tmp_in of=$tmp_out > /dev/null 2>&1 || fail=1cmp $tmp_in $tmp_out || fail=1rm -f $tmp_in $tmp_outexit $fail

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?