Files
OpenEuler-competition/step1/jiance.sh
2020-10-16 16:21:24 +08:00

17 lines
253 B
Bash

#!/bin/bash
cd /data/workspace/myshixun/step1/
sh ./daan.sh
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