AWK: Remove duplicate lines Posted on 2025-10-162025-10-16 by Jarlath awk '!seen[$0]++' input.txt > output.txt …preserves line order