From: Frank Ch. Eigler Date: Mon, 18 Jan 2016 14:29:16 +0000 (-0500) Subject: stap.1: highlight %.*M formatting tip X-Git-Tag: release-3.0~190 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=5436c8ea00bc3236046ba1921d2fddd0e75156a2;p=systemtap.git stap.1: highlight %.*M formatting tip It's common enough, and easy enough to get wrong. --- diff --git a/man/stap.1 b/man/stap.1 index c1fcc5562..440cbac7a 100644 --- a/man/stap.1 +++ b/man/stap.1 @@ -1397,7 +1397,7 @@ Signed decimal. Safely reads kernel memory at the given address, outputs its content. The optional precision specifier (not field width) determines the number of bytes to read - default is 1 byte. %10.4m prints 4 bytes of the memory in a 10-character-wide field. .TP %M -Same as %m, but outputs in hexadecimal. The minimal size of output is double the optional precision specifier - default is 1 byte (2 hex chars). %10.4M prints 4 bytes of the memory as 8 hexadecimal characters in a 10-character-wide field. +Same as %m, but outputs in hexadecimal. The minimal size of output is double the optional precision specifier - default is 1 byte (2 hex chars). %10.4M prints 4 bytes of the memory as 8 hexadecimal characters in a 10-character-wide field. %.*M hex-dumps a given number of bytes from a given buffer. .TP %o Unsigned octal.