Annotation of /alx-src/trunk/alxconfig-ng/bin/txt2html.sh
Parent Directory | Revision Log
Revision 2802 -
(hide annotations)
(download)
(as text)
Mon Aug 29 20:20:48 2011 UTC (12 years, 8 months ago) by niro
File MIME type: application/x-sh
File size: 243 byte(s)
Mon Aug 29 20:20:48 2011 UTC (12 years, 8 months ago) by niro
File MIME type: application/x-sh
File size: 243 byte(s)
-merged branch alxconfig-0_6_0 into trunk
1 | niro | 301 | #! /bin/sed -f |
2 | niro | 1996 | # $Id$ |
3 | niro | 301 | # 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> |