file1 file2 file3 Then pipe to another 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
echo -e "a\nb\na\nc" | xtool -dd echo Output: file1 file2 file3 Then pipe to another command:
Example replacing awk :
: 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. xtool -dd deduplication option