config root man

Current Path : /usr/local/bin/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/bin/makerandom

#!/usr/local/bin/perl -sI../lib -Ilib/

eval 'exec /usr/local/bin/perl -sI../lib -Ilib/ -S $0 ${1+"$@"}'
    if 0; # not running under some shell
##
## makerandom - interface to crypt::random
##
## Copyright (c) 1998, Vipul Ved Prakash.  All rights reserved.
## This code is free software; you can redistribute it and/or modify
## it under the same terms as Perl itself.
##
## $Id: makerandom,v 1.1.1.1 2001/06/21 15:34:49 vipul Exp $

use Crypt::Random qw( makerandom makerandom_itv );

unless ( $size || $lower )  { 
    my $name = $0; 
    $name =~ s:.*/::;
    print "usage: $name [options] \
       -size=bitsize \
       -strength=[01] \
       -dev=device \ 
       -lower=lower_bound \
       -upper=upper_bound \
       -num=quantity\n\n";
    exit 0;
}


$strength = 0 unless $strength; 
my $i     = 1; 
   $num   = 1 unless $num; 

while ( $i++ <= $num ) { 

my $r; 

if ( $size ) { 
    $r = makerandom Size => $size, 
                    Strength => $strength,
                    Device => $dev; 
}

if ( $lower ) { 
    $r = makerandom_itv Lower => $lower, 
                        Upper => $upper, 
                        Strength => $strength, 
                        Device => $dev;
}

print "$r\n";

}

Man Man