srccrc.sh

来自「操作系统源代码」· Shell 代码 · 共 25 行

SH
25
字号
#!/bin/sh##	srccrc 1.0 - compute CRC checksums of the entire source tree#							Author: Kees J. Botcd /usr || exit{	# List the file names of all files in /usr/include and /usr/src.	find include src/* -type f} | {	# Sort the list to make them comparable.	sort} | {	# Remove files like *.o, *.bak, etc.	sed -e '/\.o$/d		/\.a$/d		/\.bak$/d		/\/a\.out$/d		/\/core$/d		/\/bin\/[^/]*$/d'} | {	# Compute checksums.	xargs crc}

⌨️ 快捷键说明

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