mwasmnlm 212 Bytes
Newer Older
1 2
#! /bin/sh

3 4 5
# stop on errors
set -e

6 7
args=" $*"

unknown's avatar
unknown committed
8 9 10 11
# NOTE: Option 'pipefail' is not standard sh
set -o pipefail
wine --debugmsg -all -- mwasmnlm $args | \
perl -pe 's/\r//g; s/^\e.*\e(\[J|>)?//; s/[[^:print:]]//g'