📄 testnasm.sh
字号:
## 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -