On Thu, 2006-12-14 at 10:58 -0700, Jeff Schroeder wrote:
> # sort hosts.deny | uniq > hosts.deny.new
>
> I typically run 'sort' before 'uniq' because it seems that uniq looks
> for repeated lines, and if you happen to have the same line in
> different places in the file it may not catch it as a duplicate.
You should consider using `sort -u`
>From the man page:
-u, --unique
with -c, check for strict ordering; without -c,
output only the first of an equal run
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/