From e2fabaeea6f9741a627559975e9b394c5de5349b Mon Sep 17 00:00:00 2001 From: Yifan Gao Date: Fri, 7 Apr 2017 16:12:28 +0800 Subject: [PATCH] refact stat.sh --- stat.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stat.sh b/stat.sh index 6db34561..2604f894 100755 --- a/stat.sh +++ b/stat.sh @@ -2,8 +2,7 @@ source common.sh cd result -ls *.txt | -while read file; do +for file in *.txt; do echo ${file%.*} cat $file | awk -F\/ '{print $2}' |