Printf notes

From Federal Burro of Information
Revision as of 16:01, 10 May 2013 by David (talk | contribs) (Created page with " hex: <pre> mitsor-bpe01:/etc # printf "%.8x\n" 13 0000000d mitsor-bpe01:/etc # printf "%.8x\n" 14 0000000e mitsor-bpe01:/etc # printf "%.8x\n" 15 0000000f mitsor-bpe01:/etc ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

hex:

mitsor-bpe01:/etc # printf "%.8x\n" 13
0000000d
mitsor-bpe01:/etc # printf "%.8x\n" 14
0000000e
mitsor-bpe01:/etc # printf "%.8x\n" 15
0000000f
mitsor-bpe01:/etc # printf "%.8x\n" 16
00000010
mitsor-bpe01:/etc #

Also see