# When run as root, there are just curses-related control chars. Remove them.
sed 's/^.\{1,12\}$//;/^$/d' out > k && mv k out \
|| fail=1
# When run as root, there are just curses-related control chars. Remove them.
sed 's/^.\{1,12\}$//;/^$/d' out > k && mv k out \
|| fail=1