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

David Champion dchamp1337 at gmail.com
Thu Jul 11 15:21:24 UTC 2019


Then look them up on the ascii chart:

https://en.wikipedia.org/wiki/ASCII

-dc

On Thu, Jul 11, 2019 at 10:20 AM David Champion <dchamp1337 at gmail.com>
wrote:

> You can use one of many tools to look at the hex values of those
> characters, i.e. "hexdump myfile"
>
> -dc
>
> On Thu, Jul 11, 2019 at 10:17 AM Todd Walton <tdwalton at gmail.com> wrote:
>
>> 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
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
>>
>


More information about the Cialug mailing list