add README and examples
[gemrepl.git] / examples / diohsc.sh
blobe74f4dea96a69d5c107feb999a76d7497e3a3860
1 #!/bin/sh
2 # Run instances of the gemini client diohsc for recursive fun, setting a cpu
3 # time ulimit and passing options which prevent diohsc writing to the
4 # filesystem or spawning subcommands.
5 # Sadly, with the way ghc works, it seems not to be possible to use ulimit to
6 # limit RAM use.
7 ulimit -t 300
8 diohsc -C -rg -d /dev/null