improve summary formatting
This commit is contained in:
parent
3dfaae40e8
commit
eb9bfcf37a
@ -60,7 +60,7 @@ fi
|
|||||||
done
|
done
|
||||||
|
|
||||||
DEND=`date --utc`
|
DEND=`date --utc`
|
||||||
printf "\n${SELF}: Stopped at ${DEND}.\n"
|
printf "\n${SELF}: Stopped at ${DEND}."
|
||||||
|
|
||||||
if [ "${1}" == "-cleanup" ]; then
|
if [ "${1}" == "-cleanup" ]; then
|
||||||
if [ -f "${CLOG}" ]; then rm -f "${CLOG}"; fi
|
if [ -f "${CLOG}" ]; then rm -f "${CLOG}"; fi
|
||||||
@ -68,17 +68,11 @@ fi
|
|||||||
else
|
else
|
||||||
E2=`date '+%s'`
|
E2=`date '+%s'`
|
||||||
let ES="${E2} - ${E1}"
|
let ES="${E2} - ${E1}"
|
||||||
printf "\n${SELF}: Total time elapsed ${ES} sec."
|
printf " Total elapsed ${ES} sec."
|
||||||
|
|
||||||
##### TODO: work out a less noisy diff'ing technique!
|
|
||||||
#if [ -f "${CLOG}".prev -a -f "${CLOG}" ]; then
|
|
||||||
# printf "\n${SELF}: Log diff follows:\n"
|
|
||||||
# diff -Naur "${CLOG}".prev "${CLOG}"
|
|
||||||
#fi
|
|
||||||
|
|
||||||
#####
|
#####
|
||||||
printf "\n${SELF}: Std(out|err) logged in ${CLOG}."
|
printf "\n${SELF}: Std(out|err) logged in ${CLOG}."
|
||||||
printf "\n${SELF}: Current log file examination begins:"
|
printf "\n${SELF}: Trivial log file examination:"
|
||||||
printf "\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
|
printf "\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
|
||||||
# severity classes of libdax_msgs.h in libburn and libisofs
|
# severity classes of libdax_msgs.h in libburn and libisofs
|
||||||
# List of boring keywords:
|
# List of boring keywords:
|
||||||
@ -103,7 +97,15 @@ fi
|
|||||||
esac
|
esac
|
||||||
set -e
|
set -e
|
||||||
fi
|
fi
|
||||||
printf "\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
|
printf "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
|
||||||
|
|
||||||
|
##### TODO: work out a less noisy diff'ing technique!
|
||||||
|
if [ -f "${CLOG}".prev -a -f "${CLOG}" ]; then
|
||||||
|
printf "${SELF}: See diff against previous log file (might be long):\n"
|
||||||
|
printf "diff -Naur ${CLOG}.prev ${CLOG} | less"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
printf "\n"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user