This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remove multiple blanks and tabs | |
cat in.txt | sed "s/[ \t][ ]*/ /g" > out.txt | |
# remove blanks from beginning | |
cat in.txt | sed 's/^[ \t]*//' > out.txt | |
# Comparing content of two files | |
comm -12 <(sort FILE1.txt) <(sort FILE2.txt) | |
# Split file to DVD-R size |