Mercurial > repo
diff gktemp/target @ 1347:f05a75aa8c33
<GreyKnight> mv jXOV gktemp/target
author | HackBot |
---|---|
date | Thu, 10 Jan 2013 13:29:30 +0000 |
parents | 972124ab193f |
children |
line wrap: on
line diff
--- a/gktemp/target Thu Jan 10 13:29:06 2013 +0000 +++ b/gktemp/target Thu Jan 10 13:29:30 2013 +0000 @@ -1,5 +1,6 @@ import Data.List import Data.Char +import System.Environment standardURL = "http://esolangs.org/wiki/Main_Page" @@ -19,6 +20,7 @@ main = do + args <- getArgs template <- getLine - putStrLn (applyTemplate nick template) + putStrLn (applyTemplate (args !! 0) template)