diff --git a/step2/2.sh b/step2/2.sh index 4daa0c9..46dfd17 100644 --- a/step2/2.sh +++ b/step2/2.sh @@ -7,7 +7,7 @@ cd /data/workspace/myshixun/step2/ result=$(grep -c -E "China|Mars" wenti.sh) if [ $result -eq 0 ];then - echo `sh wenti.sh` >/tmp/a.txt + echo `sh wenti.sh`|xargs >/tmp/a.txt python3 b.py else