Ok, I have a file with a bunch of nulls(0x00) that I want to strip out. The solution should be somewhat simple, but yet doesn't work the way I thought it would. sed 's/\x00/~/g' should replace every null character with a ~, but yet it does nothing. At first I thought it was a problem with null characters, but I tried the same with \x0D (Carriage Return) and it didn't work either. Any ideas?