NetBSD/dist/ntp/scripts/stats/dupe.awk

9 lines
79 B
Awk
Executable File

#
# delete duplicate lines
#
{
if (old != $0)
printf "%s\n", $0
old = $0
}