view en/examples/tour.merge.cat.out @ 419:97e929385442

Small typos, plus a perl regexp match. It was stripping newlines!
author Taavi Burns <taavi@taaviburns.ca>
date Sun, 31 Aug 2008 12:14:23 -0400
parents 006bbad1f190
children
line wrap: on
line source

$ \textbf{cat hello.c}
/*
 * Placed in the public domain by Bryan O'Sullivan.  This program is
 * not covered by patents in the United States or other countries.
 */

#include <stdio.h>

int main(int argc, char **argv)
\{
	printf("once more, hello.\textbackslash{}n");
	printf("hello, world!\textbackslash{}");
	return 0;
\}
$ \textbf{cat ../my-hello/hello.c}
/*
 * Placed in the public domain by Bryan O'Sullivan.  This program is
 * not covered by patents in the United States or other countries.
 */

#include <stdio.h>

int main(int argc, char **argv)
\{
	printf("hello, world!\textbackslash{}");
	printf("hello again!\textbackslash{}n");
	return 0;
\}