{"id":614,"date":"2015-09-16T16:58:12","date_gmt":"2015-09-16T07:58:12","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=614"},"modified":"2021-10-04T09:32:21","modified_gmt":"2021-10-04T00:32:21","slug":"%e3%83%90%e3%82%a4%e3%83%8a%e3%83%aa%e3%83%80%e3%83%b3%e3%83%97%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/614","title":{"rendered":"\u30d0\u30a4\u30ca\u30ea\u30c0\u30f3\u30d7\u30b3\u30de\u30f3\u30c9"},"content":{"rendered":"<h3>xxd<\/h3>\n<p><strong>xdd<\/strong>\u306f\u30d5\u30a1\u30a4\u30eb\u3084\u6a19\u6e96\u5165\u529b\u304b\u3089\u30d8\u30ad\u30b5\u30c0\u30f3\u30d7\u3092\u751f\u6210\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u30d8\u30ad\u30b5\u30c0\u30f3\u30d7\u304b\u3089\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30d0\u30a4\u30ca\u30ea\u30fc\u5f62\u5f0f\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<dl>\n<dt>-p &nbsp; | &nbsp; -ps &nbsp; | &nbsp; -postscript &nbsp; | &nbsp; -plain<\/dt>\n<dd>output in postscript continuous hexdump style. Also known as plain hex dump style.<\/dd>\n<\/dl>\n<dl>\n<dt>-r &nbsp; | &nbsp; -revert<\/dt>\n<dd>convert (or patch) hexdump into binary<\/dd>\n<\/dl>\n<dl>\n<dt>-i &nbsp; | &nbsp; -include<\/dt>\n<dd>output in C include file style.<\/dd>\n<\/dl>\n<h4>\u5b9f\u884c\u4f8b<\/h4>\n<p>\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u304b\u3089C\u8a00\u8a9e\u5f62\u5f0f\u306e\u914d\u5217\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3059\u308b\u3002<\/p>\n<pre class=\"lang:c decode:true \" >$ xxd -i favicon.ico\r\nunsigned char favicon_ico[] = {\r\n  0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x10, 0x10, 0x00, 0x00, 0x01, 0x00,\r\n  0x08, 0x00, 0x68, 0x05, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x28, 0x00,\r\n  0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x01, 0x00,\r\n  0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x01, 0x00, 0x00, 0x00, 0x00,\r\n  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\r\n  \/* \u4e2d\u7565 *\/\r\n  0xff, 0xff, 0xc0, 0x03, 0xff, 0xff, 0xe6, 0x87, 0xff, 0xff, 0xfe, 0xff,\r\n  0xff, 0xff\r\n};\r\nunsigned int favicon_ico_len = 1406;\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><!--more--><\/p>\n<h3>od<\/h3>\n<p><strong>od<\/strong>\u306f&quot;Octal Dump&quot;\u30b3\u30de\u30f3\u30c9\u3002\u3057\u305f\u304c\u3063\u3066\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\uff18\u9032\u6570\u30c0\u30f3\u30d7\u3002\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\uff11\uff16\u9032\u6570\u30c0\u30f3\u30d7\u3001\uff11\uff10\u9032\u6570\u3001ASCII\u30c0\u30f3\u30d7\u3082\u30b5\u30dd\u30fc\u30c8\u3002<\/p>\n<dl>\n<dt>-x<\/dt>\n<dd>16\u9032\u8868\u8a18<\/dd>\n<\/dl>\n<dl>\n<dt>-a<\/dt>\n<dd>ASCII\u8868\u8a18\u3002\u5236\u5fa1\u6587\u5b57\u3082\u53ef\u8aad\u5316\u3055\u308c\u308b\u306e\u3067\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\u3088\u308a\u3061\u3087\u3063\u3068\u4fbf\u5229\u3002<\/dd>\n<\/dl>\n<pre class=\"lang:default decode:true \" >0000000    %   P   D   F   -   1   .   1  sp  nl   %   \ufffd   \ufffd   \ufffd   \ufffd  nl\r\n0000020    1  sp   0  sp   o   b   j  nl   &lt;   &lt;  sp  nl   \/   T   y   p\r\n0000040    e  sp   \/   C   a   t   a   l   o   g  sp  nl   \/   P   a   g\r\n0000060    e   s  sp   3  sp   0  sp   R  sp  nl   &gt;   &gt;  nl   e   n   d<\/pre>\n<p>&nbsp;<\/p>\n<h3>hexdump<\/h3>\n<p>The hexdump utility is a filter which displays the specified files, or the standard input, if no files are specified, in a user specified format.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>xxd xdd\u306f\u30d5\u30a1\u30a4\u30eb\u3084\u6a19\u6e96\u5165\u529b\u304b\u3089\u30d8\u30ad\u30b5\u30c0\u30f3\u30d7\u3092\u751f\u6210\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u30d8\u30ad\u30b5\u30c0\u30f3\u30d7\u304b\u3089\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30d0\u30a4\u30ca\u30ea\u30fc\u5f62\u5f0f\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002 -p &nbsp; | &nbsp; -ps &nbsp; | &nbsp; &#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[80,115,114],"class_list":["post-614","post","type-post","status-publish","format-standard","hentry","category-memo","tag-c","tag-hex","tag-convert"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=614"}],"version-history":[{"count":10,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/614\/revisions"}],"predecessor-version":[{"id":3865,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/614\/revisions\/3865"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}