Monday, September 7, 2009

Removing punctuation from a file in Linux

To remove the punctuation from a file run the following command:
cat input_file | tr -d '[:punct:]' > output_file

1 comment: