/contrib/ntp/scripts/stats/dupe.awk
https://bitbucket.org/freebsd/freebsd-head/ · AWK · 8 lines · 5 code · 0 blank · 3 comment · 2 complexity · 06a3a1ad098b2e51ac4ef1d9de11a85f MD5 · raw file
- #
- # delete duplicate lines
- #
- {
- if (old != $0)
- printf "%s\n", $0
- old = $0
- }