Xtool -dd Deduplication Option May 2026
echo -e "a\nb\na\nc" | xtool -dd echo Output:
Example replacing awk :
which xtool type xtool If not found, use standard deduplication: xtool -dd deduplication option
file1 file2 file3 Then pipe to another command:
: If you have a specific man page or help output for your xtool , share it for more precise guidance. Most systems don’t include xtool by default, so you may be using a niche or internal tool. echo -e "a\nb\na\nc" | xtool -dd echo Output:
file1 file2 file1 file3 file2 Command:
# Preserve order awk '!seen[$0]++' input.txt | xargs command sort -u input.txt | xargs command 8. Summary | Feature | xtool -dd | |-----------------|-------------| | Deduplicate lines | ✅ Yes | | Preserve order | ✅ Yes (first occurrence) | | Case-insensitive | ❌ (unless -i supported) | | Works with pipes | ✅ Yes | | Built-in command execution | ✅ Yes (like xargs) | xtool -dd deduplication option
xtool -dd cat dupes.txt Output: