[Cialug] cat -A... what do those characters mean?

Todd Walton tdwalton at gmail.com
Thu Jul 11 15:16:28 UTC 2019


When I use "cat -A" to dump the contents of a text file, it shows me
all the unprintable characters in the file. For example, I have a file
that cat outputs like this:

^[[1mAVAILABLE COMMANDS^[[0m
       +^Ho batch-get-traces
       +^Ho create-group

I've never seen the plus sign before. I know that ^I (capital I as in
India) represents a tab. I don't know what ^H is. And so on.

Is there a reference for what all those extra characters represent?

--
Todd


More information about the Cialug mailing list