⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 doit

📁 HAL硬件抽象层源码
💻
字号:
#!/bin/sh
#
#  Simple utility to repeat a command within each
#  sub-directory of the build tree.
#
#  Run as:
#	doit command
#
#  Note:
#	Quote the command if it has spaces in it...
#	doit "co RCS/*"

export PATH || (echo "OOPS, this isn't sh.  Desperation time."; sh $0 $argv; kill $$)

#
# All of the subdirectories "do"
#
subdirs=". ./h ./h/ebsa110 ./h/sidearm ./h/ebsa285 ./h/brutus ./docs
./tools ./demo ./demo/ebsa110 ./demo/sidearm ./demo/ebsa285
./demo/brutus ./lib ./lib/ebsa110 ./lib/sidearm ./lib/ebsa285 ./lib/brutus
./ucos ./ucos/ebsa110 ./ucos/sidearm ./ucos/ebsa285 ./ucos/brutus"

#
# "Do" every subdirectory.
#
for sd in ${subdirs} ; 
do
    if [ -d ${sd} ]; then
	echo '############' "Doing ${sd}" '############'
	(cd ${sd}; 	$1)
    fi
done

⌨️ 快捷键说明

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