|
Thanks Perderabo...
I am using AIX, version 4.
I want to keep the special characters like double quotes("), spaces, +, - etc. retained. When I used :
tr -c '[:print:][:cntrl:]' ' ' < input_file > output_file
all these characters also got removed. (Anything to do with [:print:] ?)
Also, [:alnum:] didn't change the file itself :
tr -c '[:alnum:]' ' ' < subs.bak > sub.err
Have got tired of using so many options. Have to resolve this issue as soon as possible. Clients jumping on me.
Thanks
Kanu
|