chiark
/
gitweb
/
~ijackson
/
d.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a0d460e
)
genopts alphanum tidyups, more
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 4 Sep 2013 22:56:08 +0000
(23:56 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 4 Sep 2013 22:56:08 +0000
(23:56 +0100)
service
patch
|
blob
|
history
diff --git
a/service
b/service
index aefff42ea2e47c720d2aa0373c5091cf23ba8174..d3e0499b96aa81ed4c855118fc3d068319bc8415 100755
(executable)
--- a/
service
+++ b/
service
@@
-39,9
+39,7
@@
use strict;
use DBI;
use POSIX;
use DBI;
use POSIX;
-our $minrandlength = 6;
our $randlength;
our $randlength;
-our $maxrandlength = 50;
our $maxperuser = 10000;
our $qualdom;
our $maxperuser = 10000;
our $qualdom;
@@
-52,6
+50,10
@@
our $priv;
our $showcomment;
our $genmethod = 'alphanum';
our $showcomment;
our $genmethod = 'alphanum';
+# for alphanum
+our $minrandlength = 6;
+our $maxrandlength = 50;
+
sub nextarg () {
die "too few arguments\n" unless @ARGV;
my $v = shift @ARGV;
sub nextarg () {
die "too few arguments\n" unless @ARGV;
my $v = shift @ARGV;