Edit by browser

This commit is contained in:
张冠群 2020-10-19 10:53:46 +08:00
parent 99e06c8838
commit 2dfeeecd9e
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,7 @@ sh ./daan.sh
a='rm'
b='echo'
c='EOF'
d='<<'
if cat daan.sh|grep "$a">/dev/null
then
echo "使用rm属于作弊行为"
@ -16,6 +17,10 @@ then
if cat daan.sh|grep "$c">/dev/null
then
echo "使用EOF属于作弊行为"
if cat daan.sh|grep "$d">/dev/null
then
echo "使用重定向属于作弊行为"
fi
fi
fi
fi