further suggestion from ion in IRC.
"On my system, there’s a great number of messages from Gtk applications that have extra newlines, making uniq unable to do its magic.
exec 2>&1 | grep -Ev '^[[:space:]]*$' | uniq -c | sed 's/^[[:space:]]*1[[:space:]]//' | head -c 5000000 >> "$ERRFILE"
further suggestion from ion in IRC.
"On my system, there’s a great number of messages from Gtk applications that have extra newlines, making uniq unable to do its magic.
exec 2>&1 | grep -Ev '^[[:space:]]*$' | uniq -c | sed 's/^[[: space:] ]*1[[:space: ]]//' | head -c 5000000 >> "$ERRFILE"