siggen - signature generator script


siggen will generate signatures from a signature template, replacing special
tags with appropriate text. The tags have the same syntax as html tags, so their
usage shouldn't be difficult.

Using these tags, you can format your text (left/right/centered); you can
generate tables with several columns; finally, some tags will be replaced with
the output of a program, a text passed to siggen, or several lines randomly
chosen from a text file. Long lines will either be wrapped or truncated.

Download

Screenshot

Since all you get is text output, you won't see any pictures here :-)

Test signature template

*--- please cut here... -------------------------------------- thanks! ---*
| E-Mail: stefan.schlott@student.uni-ulm.de        PGP-Key-ID: 0x37F2A89D |
| Homepage: http://www.uni-ulm.de/~s_sschlo        Date: <date width=16 align =r
<eval text="This mail was sent on \<date format="y-m-d"\>\
from \<var name="host"\>." width=75 start="| " end=" |">
*-------------------------------------------------------------------------*
<exec cmd="fortune -s" width=75 multiline start="| " end=" |">
*-------------------------------------------------------------------------*
<quote width=75 multiline start="| " end=" |">
*------------------------------------------------*------------------------*
<table columns=46," | ",22 start="| " end=" |"
 col1="\<quote multiline\>"
 col2="PGP-Key-ID: 0x37F2A89D\nDate: \<date width=16 align=right\>"
 multiline>
*------------------------------------------------*------------------------*

...and a corresponding output:

*--- please cut here... -------------------------------------- thanks! ---*
| E-Mail: stefan.schlott@student.uni-ulm.de        PGP-Key-ID: 0x37F2A89D |
| Homepage: http://www.uni-ulm.de/~s_sschlo        Date:       10.05.2000 |
| This mail was sent on 100-05-10 from blackbird.                         |
*-------------------------------------------------------------------------*
| One Page Principle:                                                     |
|   A specification that will not fit on one page of 8.5x11 inch          |
| paper cannot be understood.                                             |
|     -- Mark Ardis                                                       |
*-------------------------------------------------------------------------*
| Motorola's "encryption" wasn't designed for privacy, it's more like a   |
| checksum for transmission integrity. Basically, it's XOR.               |
|   -- Bruce Schneier, CryptoGram 3'99                                    |
*------------------------------------------------*------------------------*
| In 1969 it took the computing power of 2 C-64  | PGP-Key-ID: 0x37F2A89D |
| to bring men to moon - Nowadays it takes       | Date:       10.05.2000 |
| PENTIUM-power to successfully run Windows95... |                        |
|   *** SOMETHING MUST HAVE GONE WRONG ***       |                        |
*------------------------------------------------*------------------------*

Not quite RFC conformant (somewhat longer than four lines), but showing most
of the features of siggen.

Trackback-URL für diesen Artikel:

http://stefan.ploing.de/trackback/5
AnhangGröße
siggen-0.1.tar.gz13.12 KB

Da finde ich

Da finde ich http://siggen.sf.net besser, und es ist auch streng RFC1855-konform ;-)