makevers
来自「unix and linux net driver」· 代码 · 共 24 行
TXT
24 行
#!/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 + =
减小字号Ctrl + -
显示快捷键?