From 6aab314f677cd0e07e945c6756b3e4ff27548047 Mon Sep 17 00:00:00 2001 From: Adrian Perez Date: Wed, 22 Aug 2007 20:48:43 +0200 Subject: [PATCH] Add t2inc header --- templates/t2inc.c | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/templates/t2inc.c b/templates/t2inc.c index 62f8f0a..d5f1e87 100644 --- a/templates/t2inc.c +++ b/templates/t2inc.c @@ -1,8 +1,29 @@ /* * t2inc.c - * Copyright (C) 2007 acastro + * Copyright (C) 2007 Adrian Perez + * + * + * About t2inc + * ~~~~~~~~~~~ + * Flattens HTML-like text to C strings. Some whitespace + * is removed to minimize output size. + * + * + * Usage + * ~~~~~ + * Compile it and use as a filter in a shell pipeline: + * + * $ cc -o t2inc t2inc.c + * $ ./t2inc < input.t > output.inc + * $ cat *.t | ./t2inc > alloutput.inc + * + * ...and so on. + * + * + * License + * ~~~~~~~ + * This code is placed in the public domain. * - * Distributed under terms of the MIT license. */ #include