Comment 7 for bug 661494

Revision history for this message
Derek (bugs-m8y) wrote :

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"