diff options
author | Michael Boelen <michael@cisofy.com> | 2015-10-14 11:55:33 +0300 |
---|---|---|
committer | Michael Boelen <michael@cisofy.com> | 2015-10-14 11:55:33 +0300 |
commit | 776a70d6cf47dd86da8ba522364d68aefd150049 (patch) | |
tree | 31592e40d0416e16adfd19889718eb47653d11d2 /include/report | |
parent | 24a006da14e183fe2092cfc50daad0f8bde83d19 (diff) | |
parent | 0c48fc3880551d862063e56a029ce43082df376a (diff) |
Merge pull request #82 from SiemKorteweg/master
Optimized use of cat, grep and awk.
Diffstat (limited to 'include/report')
-rw-r--r-- | include/report | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/report b/include/report index a65f3534..139101c5 100644 --- a/include/report +++ b/include/report @@ -102,7 +102,7 @@ if [ "${CUSTOM_URL_APPEND}" = "" ]; then CUSTOM_URL_APPEND="/"; fi # Show warnings from logfile - SWARNINGS=`cat ${LOGFILE} | grep -i 'warning:' | sed 's/ /!space!/g'` + SWARNINGS=`grep -i 'warning:' ${LOGFILE} | sed 's/ /!space!/g'` if [ "${SWARNINGS}" = "" ]; then echo " ${OK}No warnings${NORMAL}"; echo "" |