#!/usr/bin/env sh
# SPDX-License-Identifier: MIT
# ──────────────────────────────────────────────────────────────────────────────
# $source: cappysan-dotfile-scripts$
# ──────────────────────────────────────────────────────────────────────────────
#
# NAME
#      no-wrap - disable terminal wrapping of lines for a single command.
#
# SEE ALSO
#      tput(1), terminfo(5)
#
# EXAMPLE
#      ps -edf f | grep firefox | no-wrap cat
#
# Disable and re-enable automatic margins
tput rmam
eval "${@}"
retval=${?}
tput smam

exit ${retval}
