openmamba-makereport: first lines of log files are not very useful; instead only print last lines and grow tail size to 200 lines
This commit is contained in:
parent
e256ee0e41
commit
adc614b54a
@ -73,20 +73,11 @@ function tailfile() {
|
|||||||
cat >> $TEMPFILE << _EOF
|
cat >> $TEMPFILE << _EOF
|
||||||
|
|
||||||
****************************************************************
|
****************************************************************
|
||||||
* File '$c' (first lines): $FILEDESC
|
* File '$c' (last 200 lines): $FILEDESC
|
||||||
****************************************************************
|
****************************************************************
|
||||||
_EOF
|
_EOF
|
||||||
|
|
||||||
head -n 100 ${ROOT}/$c >> $TEMPFILE
|
tail -n 200 ${ROOT}/$c >> $TEMPFILE
|
||||||
|
|
||||||
cat >> $TEMPFILE << _EOF
|
|
||||||
|
|
||||||
****************************************************************
|
|
||||||
* File '$c' (last lines): $FILEDESC
|
|
||||||
****************************************************************
|
|
||||||
_EOF
|
|
||||||
|
|
||||||
tail -n 100 ${ROOT}/$c >> $TEMPFILE
|
|
||||||
done
|
done
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user