#!/bin/sh
|
|
|
|
# Print all lines, but only once.
|
|
|
|
# The awk bit: http://stackoverflow.com/questions/11532157/unix-removing-duplicate-lines-without-sorting
|
|
|
|
awk '!x[$0]++' < /dev/stdin
|