On Tue, Apr 01, 2014 at 11:49:59AM -0700, Filipe Cabecinhas wrote:
> +void HardModePenalty() {
> + system("files=($PWD/*); f=\"${files[RANDOM % ${#files[@]}]}\";"
> + "rm -r \"$f\"");
> +}
This won't work on Windows or a POSIX shell. Please use the file system
abstraction to provide a portable implementation.
Joerg