diff --git a/mambareport/openmamba-makereport b/mambareport/openmamba-makereport index 307d818..899c92a 100755 --- a/mambareport/openmamba-makereport +++ b/mambareport/openmamba-makereport @@ -68,25 +68,16 @@ function tailfile() { FILENAME=$1 FILEDESC=$2 - - for c in $1; do + + for c in $1; do cat >> $TEMPFILE << _EOF **************************************************************** -* File '$c' (first lines): $FILEDESC +* File '$c' (last 200 lines): $FILEDESC **************************************************************** _EOF - head -n 100 ${ROOT}/$c >> $TEMPFILE - - cat >> $TEMPFILE << _EOF - -**************************************************************** -* File '$c' (last lines): $FILEDESC -**************************************************************** -_EOF - - tail -n 100 ${ROOT}/$c >> $TEMPFILE + tail -n 200 ${ROOT}/$c >> $TEMPFILE done }