Dennis' Tech Crib Sheets
Removing punctuation from a file in Linux
$
cat /tmp/file
This @string %has *a !lot ^of (funny $text.
$
cat /tmp/file | tr -d '[:punct:]'
This string has a lot of funny text
Newer Post
Older Post
Home