Compact a log for any value changed except the timestamp

cat graph.log.heavy | awk -F, -vOFS=, '{l=$0; $1=""}; ! ($0 in seen) {print l; seen[$0]}' > graph.log

nJoy 😉

Leave a Reply

Your email address will not be published. Required fields are marked *