{"id":386,"date":"2018-03-20T15:52:01","date_gmt":"2018-03-20T14:52:01","guid":{"rendered":"https:\/\/www.hsu-hh.de\/hisalt\/?page_id=386"},"modified":"2018-03-20T15:52:56","modified_gmt":"2018-03-20T14:52:56","slug":"taptospc","status":"publish","type":"page","link":"https:\/\/www.hsu-hh.de\/hisalt\/taptospc","title":{"rendered":"taptospc"},"content":{"rendered":"<p style=\"text-align: center\">\/* C-Program to change tabs to spaces in input files. *\/<br \/>\n\/* Works as a filter: I\/O should be re-directed using &lt;&gt; <abbr title=\"et cetera\">etc.<\/abbr> *\/<br \/>\n\/* (c) B.Meissner, Universitaet der Bundeswehr, 2005 *\/<br \/>\n\/* gcc -o tabtosp -O6 -finline-functions *\/<br \/>\n\/* -fstrength-reduce -fomit-frame-pointer tabtosp.c *\/<\/p>\n<p style=\"text-align: center\">#include &lt;stdio.h&gt;<\/p>\n<p style=\"text-align: center\">main()<\/p>\n<p>{<\/p>\n<p style=\"text-align: center\">int c ; \/* our &#8222;buffer&#8220; *\/<\/p>\n<p style=\"text-align: center\">while ((c = getc(stdin)) != EOF ) \/* read one byte a time *\/<br \/>\n\/* from standardin *\/<br \/>\n{<\/p>\n<p style=\"text-align: center\">if (c == 9 ) \/* TAB = ASCII 9 *\/<br \/>\nc = 32 ; \/* SP = ASCII 32 *\/<\/p>\n<p style=\"text-align: center\">putc(c,stdout) ; \/* write standardout *\/<\/p>\n<p style=\"text-align: center\">}<\/p>\n<p style=\"text-align: center\">}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/* C-Program to change tabs to spaces in input files. *\/ \/* Works as a filter: I\/O should be re-directed using &lt;&gt; etc. *\/ \/* (c) B.Meissner, Universitaet der Bundeswehr, [&hellip;]<\/p>\n","protected":false},"author":185,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-386","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.hsu-hh.de\/hisalt\/wp-json\/wp\/v2\/pages\/386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hsu-hh.de\/hisalt\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.hsu-hh.de\/hisalt\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.hsu-hh.de\/hisalt\/wp-json\/wp\/v2\/users\/185"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hsu-hh.de\/hisalt\/wp-json\/wp\/v2\/comments?post=386"}],"version-history":[{"count":4,"href":"https:\/\/www.hsu-hh.de\/hisalt\/wp-json\/wp\/v2\/pages\/386\/revisions"}],"predecessor-version":[{"id":393,"href":"https:\/\/www.hsu-hh.de\/hisalt\/wp-json\/wp\/v2\/pages\/386\/revisions\/393"}],"wp:attachment":[{"href":"https:\/\/www.hsu-hh.de\/hisalt\/wp-json\/wp\/v2\/media?parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hsu-hh.de\/hisalt\/wp-json\/wp\/v2\/categories?post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hsu-hh.de\/hisalt\/wp-json\/wp\/v2\/tags?post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}