1
0
forked from GitHub/gf-core

German phrasebook; ontology document; ignoring single lines in gfdoc

This commit is contained in:
aarne
2010-04-08 20:31:32 +00:00
parent 6aa9363b53
commit a459f0a449
16 changed files with 549 additions and 228 deletions

View File

@@ -20,4 +20,8 @@ doUpdate src (target,ls) = do
appendFile tmp $ unlines [(line ++ "-- UPDATE FROM " ++ src) | line <- ls]
appendFile tmp "\n}\n"
dropLastBracket s = s
tmpFile file = "tmp-update/"++ file
---- quick and dirty
dropLastBracket = reverse . init . dropWhile (/='}') . reverse