File: p.awk

package info (click to toggle)
arpwatch 2.1a4-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 572 kB
  • ctags: 233
  • sloc: ansic: 2,467; sh: 1,723; makefile: 140; awk: 61
file content (9 lines) | stat: -rw-r--r-- 106 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# Only print the first ethernet address seen

{
	e = $1
	if (seen[e])
		continue
	seen[e] = 1
	print $0
}