Module: htangle (htangle.c)

Notes:

  1. Usage: htangle <ifile.[c,C,CC,h] >ifile.html
  2. htangle -iinfile >ifile.html
  3. Extracts text bracketed by <pre> and </pre>
  4. Puts at start, at end
  5. Uses stdin for input, stdout for output, or uses a file name.
  6. To build: [cc,gcc] [-g] -o htangle htangle.c

Requirements:

  1. (1) Remove HTML from source code for on-line documentation.
includes  click here to see the source for includes

RCS ID String: $Id: htangle.c,v 1.4 1999/04/26 15:43:43 steveg Exp $

defines




Copyright (C) 1999 Steve Gibson (under GPL)
/************************************************************************/ /************************************************************************

Procedure: PrintHelp

Notes:

  1. Prints help info on standard output

Requirements:

  1. (no number) - all programs should print help with -h, -H or -? options
 
 ************************************************************************/
PrintHelp See Code 
************************************************************************

Procedure: PrintVersion

Notes:

  1. Prints version number for program

Requirements:

  1. (no number) - all programs should print version with -V option
 PrintVersion
 

Procedure: main

Notes:

  1. Usage: htangle -ifile.html
  2. Extracts text bracketed by and
  3. Puts at start, at end
  4. Uses stdin for input, stdout for output, should be modified to accept a file name and cmd-line args (e.g., use getopt).

Requirements:

  1. (1) Extract HTML from source code
 Main   See Code