newvers.sh
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· Shell 代码 · 共 15 行
SH
15 行
#!/bin/sh -# @(#)newvers.sh 4.2 (ULTRIX) 11/13/90# Copyright (c) 1983 Regents of the University of California.# All rights reserved. The Berkeley software License Agreement# specifies the terms and conditions for redistribution.## newvers.sh 5.1 (Berkeley) 6/6/85#if [ ! -r version ]; then echo 0 > version; fitouch versionawk ' { version = $1 + 1; }\END { printf "char version[] = \"ULTRIX Version 4.%d ", version > "vers.c";\ printf "%d\n", version > "version"; }' < versionecho `date`'";' >> vers.c
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?