testnasm.sh

来自「网络MPEG4IP流媒体开发源代码」· Shell 代码 · 共 44 行

SH
44
字号
## shell to verify nasm version# nasm -r has format "NASM version <foo> <extra stuff>"## This shell looks for version, then sees if we're 0.98.19 or greater#VER=`echo $1 | tr '[a-z]' '[A-Z]'`until test $VER = "VERSION";   do   shift   VER=`echo $1 | tr '[a-z]' '[A-Z]'`  done# check for version tagif test $VER != "VERSION"; then  echo "no"  exit 0fishiftif test $1 -gt 0; then    echo "yes"   exit 0fishiftif test $1 -gt 98; then   echo "yes"   exit 0fishiftif test -z $1; then   echo "no"   exit 0fiif test $1 -ge 19; then   echo "yes"  exit 0fiecho "no"exit 0

⌨️ 快捷键说明

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