I have a file with some non-printable characters that come up as ^C or ^B, I want to find and replace those characters, how do I go about开发者_开发知识库 doing that?Removing control symbols only:
I\'m trying to write a bash script that looks at a directory full of files and categorises them as either plaintext or binary.A file is plaintext if it ONLY contains plaintext characters, otherwise it
This is a really weird problem.It\'s taken me practically all day to whittle it down to a small executable script that demonstrates the problem fully.