Bad character in output file

view full story

http://www.unix.com – Hi All, I am facing some problems with bad characters in my file.For example- Code: 00000000509 TCI DEVOFFERS= 1 Now I want to remove all bad characters and replace with *. Please suggest some solution. Along with that How to mention a range of ASCII values in TR command to replace? Say I want to replace ASCII value 32 -38(Dec) with Asterisk(*), how to perform with TR command in UNIX. Please help. Moderator's Comments: Use code tags, thanks. (HowTos)