早期freebsd实现

源代码在线查看: version.sh

软件大小: 40554 K
上传用户: luyibo54618
关键词: freebsd
下载地址: 免注册下载 普通下载 VIP

相关代码

				if [ ! -r version ]; then echo 0 > version; fi				touch version				echo '\catcode`\#=12' > version.tex				awk '	{ version = $1 + 1; }\				END	{ printf "\\def\\versiontag/{#1.%d}%%\n", version >> "version.tex"; \					  printf "%d\n", version > "version"; }' < version				echo '\def\versiondate/{'`date`'}%' >> version.tex				echo '\catcode`\#=6' >> version.tex				echo '\tell{Version \versiontag/ of \versiondate/}' >> version.tex							

相关资源