📄 parsepairtest.sh
字号:
#!/bin/bash#MACHINE=$(uname).$(uname -m)if [ -x ./bin.debug.${MACHINE} ]then echo -e " ./bin.debug.${MACHINE}/ParsePairTest" ./bin.debug.${MACHINE}/ParsePairTest if [ $? -eq 0 ]; then exit 1; fi echo "<configuration> <a/> <b> This is b </b> <c> </c> <foo> bar </foo></configuration>" > test.xml cat test.xml echo -e " ./bin.debug.${MACHINE}/ParsePairTest test.xml" ./bin.debug.${MACHINE}/ParsePairTest test.xml rm test.xml if [ ! $? -eq 0 ]; then exit 1; fi echo "ab: This is b # Yescfoo = barA B C D" > test.txt cat test.txt echo -e " ./bin.debug.${MACHINE}/ParsePairTest test.txt txt" ./bin.debug.${MACHINE}/ParsePairTest test.txt txt rm test.txt echo "---------------------------" echo -e " ./bin.debug.${MACHINE}/ParsePairStringTest" ./bin.debug.${MACHINE}/ParsePairStringTestfi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -