check
来自「一个类似STL的自动机的源代码库」· 代码 · 共 29 行
TXT
29 行
#!/bin/bashPATH=../bin:$PATHif [[ $# -ne 0 && $# -ne 2 ]]; then echo "Usage: $0 [dictionary] [dictionary]"echo " test ASTL sets operations"echo " * dictionary files must contain one word per line"echo " * languages intersection should be non-empty"exit 1fi# build all commandscd ../srcmakecd ../check# manage default argumentsif [[ $# -eq 0 ]]then dictionary1=wordsdictionary2=words2elsedictionary1=$1dictionary2=$2fi# run testsmake DIC1="$dictionary1" DIC2="$dictionary2"exit $?
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?