[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unmentioned od -c codes should be mentioned by referral to man ascii
From: |
Dan Jacobson |
Subject: |
unmentioned od -c codes should be mentioned by referral to man ascii |
Date: |
30 Oct 2001 16:39:47 +0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
$ od -c file
0000000 \a \n
0000002
Fellas, does man od or info od mention what the mysterious \a is? No.
This "\alert" (bell) and its mysterious \cohorts can be revealed hiding here
$ awk 'BEGIN{for(;i<060;i++)printf "%c",i}'|od -c
0000000 \0 001 002 003 004 005 006 \a \b \t \n \v \f \r 016 017
0000020 020 021 022 023 024 025 026 027 030 031 032 033 034 035 036 037
0000040 ! " # $ % & ' ( ) * + , - . /
0000060 ...
But one looks forward to their complete listing on the od info/man.
e-lie> anybody who has ever done "help echo" would have known that!
Well, they are a little different and that one is supposed to know to
check there first is elite knowledge.
Wait, they may have been trying to say something on the info page,
The type `a' outputs things like `sp' for space, `nl' for newline,
and `nul' for a null (zero) byte. Type `c' outputs ` ', `\n', and
`\0', respectively.
But they didn't list them all. They just used "like" to gloss over
it. Hey,
0tmp$ awk 'BEGIN{for(;i<060;i++)printf "%c",i}'|od -a
0000000 nul soh stx etx eot enq ack bel bs ht nl vt ff cr so si
0000020 dle dc1 dc2 dc3 dc4 nak syn etb can em sub esc fs gs rs us
0000040 sp ! " # $ % & ' ( ) * + , - . /
0000060
OK, I'll make you a deal. In the above paragraph also tell the user
to also "do 'man ascii' to understand them all". Or tell them to do
"info ascii"... [but that only works from standalone info]
--
http://www.geocities.com/jidanni Tel+886-4-25854780
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- unmentioned od -c codes should be mentioned by referral to man ascii,
Dan Jacobson <=