summaryrefslogtreecommitdiff
path: root/netware/BUILD/mwldnlm
blob: cc8c9e63c6e88a87b470a241cf4af93e17db302e (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /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'