📄 makevers
字号:
#!/bin/sh## create constants to figure out which version of Digital UNIX# (or DEC OSF/1) we're building ppp for#FULL_VERSION=`uname -r`MAJOR_VERSION=`echo $FULL_VERSION | cut -d. -f1 | cut -dV -f2`MINOR_VERSION=`echo $FULL_VERSION | cut -d. -f2`REVISION=`uname -v`cat >ppp_osf.h <<XYZZY/* Definitions for the exact version of Digital UNIX * (aka DEC OSF/1) we're building PPP for. * * This file is automatically generated. DO NOT EDIT! */XYZZYecho "#define FULL_VERSION \"$FULL_VERSION\"" >>ppp_osf.hecho "#define MAJOR_VERSION $MAJOR_VERSION" >>ppp_osf.hecho "#define MINOR_VERSION $MINOR_VERSION" >>ppp_osf.hecho "#define REVISION $REVISION" >>ppp_osf.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -