mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
.
This commit is contained in:
1 parent
c6afbb198c
commit
b9ca4fe720
1 file changed
+16
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#! /bin/sh
|
||||
# Make sure stty can parse most of its options.
|
||||
|
||||
: ${STTY=stty}
|
||||
|
||||
if test "$VERBOSE" = yes; then
|
||||
set -x
|
||||
$RM --version
|
||||
fi
|
||||
|
||||
saved_state=.saved-state
|
||||
$STTY --save > $saved_state || exit 1
|
||||
trap "status=$?; echo here; $STTY `cat $saved_state`; exit $status" 0 1 2 3 15
|
||||
$STTY `cat $saved_state` || exit 1
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user