tr to remove " from a file
Im trying to use tr to remove all " from a file and output to a new file. Ive tried the literal, wrapping in single ' etc.. its not as easy as I thought it would be.
sed 's/"//g' document1.txt > document2.txt outputs to the screen correctly but tells me it cant find document2.
ok I found that
perl -i.bak -pe 's/"//g' document1.txt
works but that really doesnt teach me why it didnt work before.
Last edited by ryedunn; 10-26-2006 at 12:26 PM.