1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-21 02:27:10 +03:00
mal/io/run
2016-06-12 21:40:08 -04:00

7 lines
295 B
Bash
Executable File

#!/bin/bash
# Io prints the line "Registering Regex: Regex" when loading the Regex module
# for the first time, and there's no way to suppress it. To avoid polluting
# the Mal script output, we swallow the first 25 bytes.
io $(dirname $0)/${STEP:-stepA_mal}.io "$@" | (read -N 25 -t 10 ; cat)