gale client

root / ExampleConf.hsgen

1
2
3
4
5
6
7
8
9
10
conf=ginsu.config.sample
echo "module ExampleConf(exampleConf, exampleConfFile) where"
echo "import Paths_ginsu"
echo "exampleConfFile :: IO FilePath"
echo "exampleConfFile = getDataFileName \"$conf\""
echo "{-# NOINLINE exampleConf #-}"
echo "exampleConf :: String"
echo "exampleConf = unlines ["
sed -e 's/"/\\"/g;s/.*/    "&",/' $conf
echo "  \"\"]"