Annotation of /alx-src/tags/alxconf-0_6_6/bin/txt2html.sh
Parent Directory | Revision Log
Revision 375 -
(hide annotations)
(download)
(as text)
Mon Feb 20 14:49:31 2006 UTC (18 years, 7 months ago) by (unknown author)
Original Path: alx-src/tags/alxconf_20060908_1/alxconfig-ng/bin/txt2html.sh
File MIME type: application/x-sh
File size: 340 byte(s)
Mon Feb 20 14:49:31 2006 UTC (18 years, 7 months ago) by (unknown author)
Original Path: alx-src/tags/alxconf_20060908_1/alxconfig-ng/bin/txt2html.sh
File MIME type: application/x-sh
File size: 340 byte(s)
This commit was manufactured by cvs2svn to create tag 'alxconf_20060908_1'.
1 | niro | 301 | #! /bin/sed -f |
2 | # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/bin/txt2html.sh,v 1.1 2005-08-28 19:27:35 niro Exp $ | ||
3 | # based on http://sed.sourceforge.net/grabbag/scripts/txt2html.sed | ||
4 | |||
5 | s/&/\&/g | ||
6 | s/</\</g | ||
7 | s/>/\>/g | ||
8 | |||
9 | 1 i\ | ||
10 | <head>\ | ||
11 | <title>\ | ||
12 | Converted with txt2html.sed\ | ||
13 | </title>\ | ||
14 | </head>\ | ||
15 | <body>\ | ||
16 | <pre> | ||
17 | |||
18 | $ a\ | ||
19 | </pre>\ | ||
20 | </body>\ | ||
21 | </html> |