Unix Bash Remove Duplicate Lines From Directory Files?
问题 I have a directory with a few hundred txt files. I need to remove all duplicate lines from each of the existing files. Every line in the entire directory should be unique regardless of the file it's in, so I need to compare and check each file against the other. Is this possible to do without altering the existing file structure? The file names need to stay the same. Let's say all the files are in directory "foo" and the total size of the directory is 30mb. I think I can do this through comm