~ubuntu-branches/ubuntu/natty/ccrypt/natty

« back to all changes in this revision

Viewing changes to doc/man2html.sed

  • Committer: Bazaar Package Importer
  • Author(s): Jean-Francois Dive
  • Date: 2003-09-07 21:46:53 UTC
  • Revision ID: james.westby@ubuntu.com-20030907214653-ht1thvjqegmejyq0
Tags: 1.6-1
* New upstream version.
* Removed the cccat renaming and conflict with cfs (closes: #180915).
* debian/rules clean remove configure generated files.
* Fix gcc 3.3 cleanups (multi-line and reserved word warnings) (closes: 194875).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 2000-2003 Peter Selinger.
 
2
# This file is part of ccrypt. It is free software and it is covered
 
3
# by the GNU general public license. See the file COPYING for details.
 
4
 
 
5
s/^\.TH \([^ ]*\) \([^ ]*\) "\([^"]*\)" .*$/<html><body bgcolor=#ffffff><title>Man page for \1(\2)<\/title><h1>Man page for \1(\2)<\/h1>/
 
6
s/^\.SH \(.*\)$/<h3>\1<\/h3>/
 
7
s/^\.nf/<pre>/
 
8
s/^\.fi/<\/pre><p>/
 
9
s/^\.TP \([0-9]*\)/<dl><dt>__sed_gaga__/
 
10
s/^\.TP$/<p><dt>__sed_gaga__/
 
11
/__sed_gaga__/N
 
12
s/^\.PD$/<\/dl>/
 
13
s/^\.IP$/<table border=0><tr><td width=30><\/td><td>/
 
14
s/^\.LP$/<\/td><\/tr><\/table>/
 
15
s/^\.B \(.*\)$/<b>\1<\/b>/
 
16
s/__sed_gaga__\n\.B \(.*\)$/<b>\1<\/b><dd>/
 
17
s/__sed_gaga__/<!oops>/
 
18
s/^\.I \(.*\)$/<i>\1<\/i>/
 
19
s/^\.\\" \(.*\)/<!--\1-->/
 
20
s/^$/<p>/
 
21
s/\\-/-/g
 
22
s/\\fI\([^\\]*\)\\fP/<i>\1<\/i>/g
 
23
s/\\fB\([^\\]*\)\\fP/<b>\1<\/b>/g
 
24