I have a project to implement the UNIX cat program with 3 flags, -v, -E and one of our choosing. I have everything working except for the -v flag.
The -v flag is:
I have been looking through documentation and cannot find anything about C having a print command using ^ and M- notation. Is there one?-v, --show-nonprinting
use ^ and M- notation, except for LFD and TAB
I've attached a file with output for all 255 values of a char with the -v flag and without it. I can see a pattern there that I could implement, it just seems like this should already be built into the language somewhere. Thank you in advance for the help.