leave only N lines in log files
This commit is contained in:
parent
05c39d7297
commit
bd8a4cc189
@ -22,5 +22,5 @@ awk '{sum += $1; n++} END { print sum / n; }' < wer_per_line.txt >> wer.txt
|
||||
awk '{if ($1 == 0) acc += 1;} END { print ( acc / NR) * 100; }' < wer_per_line.txt >> srr.txt
|
||||
|
||||
# trim the files to max N lines
|
||||
tail -15 wer.txt
|
||||
tail -15 srr.txt
|
||||
echo "$(tail -15 wer.txt)" > wer.txt
|
||||
echo "$(tail -15 srr.txt)" > srr.txt
|
||||
|
Loading…
Reference in New Issue
Block a user