Edit by browser
This commit is contained in:
parent
29108a600e
commit
c6d3ccce24
|
@ -3,5 +3,15 @@
|
||||||
cd /data/workspace/myshixun/step1/
|
cd /data/workspace/myshixun/step1/
|
||||||
|
|
||||||
sh ./daan.sh
|
sh ./daan.sh
|
||||||
cat ./daan.sh |grep rm
|
|
||||||
cat ./daan.sh |grep echo
|
a='rm'
|
||||||
|
b='echo'
|
||||||
|
|
||||||
|
if cat daan.sh|grep "$a">/dev/null
|
||||||
|
then
|
||||||
|
echo "使用rm属于作弊行为"
|
||||||
|
if cat daan.sh|grep "$b">/dev/null
|
||||||
|
then
|
||||||
|
echo "使用echo属于作弊行为"
|
||||||
|
fi
|
||||||
|
fi
|
Loading…
Reference in New Issue