fun randomPassword () = Int.toString (Int.abs (Random.randInt (!rnd)))
fun domainDir dom =
- String.concatWith "/" ("/etc/domains" :: String.fields (fn ch => ch = #".") dom)
+ String.concatWith "/" ("/afs/hcoop.net/common/etc/domtool/nodes/deleuze" :: List.rev (String.fields (fn ch => ch = #".") dom))
fun readFile fname =
let
val allLower = CharVector.map Char.toLower
+fun normEmail s = case String.tokens Char.isSpace (allLower s) of
+ s :: _ => s
+ | [] => ""
+
end