/ Published in: Bash
Output all lines in FileA that are not in FileB.
Expand |
Embed | Plain Text
sort FileA | uniq | sort - FileB FileB | uniq -u # If you know ahead of time that all lines in FileA are unique: sort FileA FileB FileB | uniq -u
You need to login to post a comment.
