mariadb/netware/BUILD/mwldnlm
kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se e22532fd80 mwasmnlm, mwccnlm, mwldnlm:
Filter out strange control characters, messes up logs
2006-07-24 10:55:26 +02:00

11 lines
211 B
Bash
Executable file

#! /bin/sh
# stop on errors
set -e
args=" $*"
# NOTE: Option 'pipefail' is not standard sh
set -o pipefail
wine --debugmsg -all -- mwldnlm $args | \
perl -pe 's/\r//g; s/^\e.*\e(\[J|>)?//; s/[[^:print:]]//g'