Moin,
* Malte
du hast immer so tolle Zufalls Unterschriften.
Wie kann man sowas machen ?
Mit GMX wohl garnicht, viele MUAs können aber eine Zufallssignatur aus einem Prozeß lesen. Dazu brauchst Du eine Datei mit Signaturen: - - - Schnipp - - - -- Signatur 1 -- Signatur 1 -- Signatur 1 -- - - - Schnapp - - - Und den Prozeß: - - - Schnipp - - - #! /usr/bin/ruby -w # # This is free software; you can redistribute and/or modify it under the # the terms of version 2 the GNU General Public License as published by # the Free Software Foundation. See http://www.gnu.org/copyleft/gpl.html fileName = "/der/pfad/zur/datei"; sigDivider = '-- ' sigs = Array.new(1) i = 0 File.open(fileName) { |file| file.each_line { |line| if line =~ sigDivider i += 1 else if sigs[i] == nil sigs[i] = line else sigs[i].concat line end end } } sigs.compact! print sigs[rand(sigs.size)] - - - Schnapp - - - Thorsten -- Omnis enim res, quae quando non deficit, dum habetur et non datur, nondum habetur, quomodo habenda est. - Aurelius Augustinus