I am trying to remove junk characters from file using sed command. I tried by using below command but not worked. sed -i \'s/[^[cntrl]]/ /g\' sed -i \'s/[^[print]]/ /g\'