hgbook

annotate en/examples/results/tour.merge.cat.out @ 564:0d5935744f87

Switch from LaTeX to XML for examples.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon Mar 09 21:39:23 2009 -0700 (2009-03-09)
parents 44d1363234d2
children 4432ad34b8e5
rev   line source
bos@564 1 <screen><prompt>$</prompt> <userinput>cat hello.c</userinput>
bos@144 2 /*
bos@144 3 * Placed in the public domain by Bryan O'Sullivan. This program is
bos@144 4 * not covered by patents in the United States or other countries.
bos@144 5 */
bos@144 6
bos@564 7 #include &lt;stdio.h&gt;
bos@144 8
bos@144 9 int main(int argc, char **argv)
bos@564 10 {
bos@564 11 printf("once more, hello.\n");
bos@564 12 printf("hello, world!\");
bos@144 13 return 0;
bos@564 14 }
bos@564 15 <prompt>$</prompt> <userinput>cat ../my-hello/hello.c</userinput>
bos@144 16 /*
bos@144 17 * Placed in the public domain by Bryan O'Sullivan. This program is
bos@144 18 * not covered by patents in the United States or other countries.
bos@144 19 */
bos@144 20
bos@564 21 #include &lt;stdio.h&gt;
bos@144 22
bos@144 23 int main(int argc, char **argv)
bos@564 24 {
bos@564 25 printf("hello, world!\");
bos@564 26 printf("hello again!\n");
bos@144 27 return 0;
bos@564 28 }
bos@564 29 </screen>