8 lines
98 B
Awk
8 lines
98 B
Awk
|
# program to delete duplicate lines in a file
|
||
|
#
|
||
|
{
|
||
|
if (old != $0)
|
||
|
printf "%s\n", $0
|
||
|
old = $0
|
||
|
}
|