- if $first; then
- first=false
- else
- # if we did want the first line, it would need to be stripped of non-printing chars:
- # line=${line#$'\E[00m'}
+ # if we did want the first line, it would need to be stripped of non-printing chars:
+ #line=${line#$'\E[00m'}
+ # lines like "total 123M", we don't want
+ if [[ ! $line =~ ^total\ [0-9][^\ ]*$ ]]; then