Xtool -dd Deduplication Option - [2021]
file1 file2 file1 file3 file2 Command:
xtool -dd cat dupes.txt | xargs -I{} echo "Processing {}" Check if xtool is an alias or custom script: xtool -dd deduplication option
which xtool type xtool If not found, use standard deduplication: file1 file2 file1 file3 file2 Command: xtool -dd cat dupes
Example replacing awk :
echo -e "a\nb\na\nc" | xtool -dd echo Output: xtool -dd deduplication option
# 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 cat dupes.txt Output: