#!/usr/bin/perl -w # superwords.pl - A password-generator # Copyright (C) Mit Jun 26 19:47:52 MEST 2002 - now Ingo Blechschmidt # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # Ingo Blechschmidt # Arberstraße 5 # 86179 Augsburg # E-Mail: iblech@web.de, http://www.way.to/uselinux/ # Tel.: +49 / 821 882955 # # @vocals = ( "a", "e", "i", "o", "u", "y", "j" ); @konsonants = ( "b", "c", "d", "f", "g", "h", "k", "l", "m", "n", "p", "q", "r", "s", "t", "v", "w", "x", "z" ); $laenge = $ARGV[0]; $i = 0; for($i = 0; $i <= $laenge / 3; $i++) { print $vocals[rand 7]; # print $konsonants[rand 19]; print $konsonants[rand 19]; } print "\n";