diff options
Diffstat (limited to 'tests/stty/basic-1')
-rwxr-xr-x | tests/stty/basic-1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stty/basic-1 b/tests/stty/basic-1 index 3771fc24d..780b43678 100755 --- a/tests/stty/basic-1 +++ b/tests/stty/basic-1 @@ -33,7 +33,7 @@ stty `cat $saved_state` || fail=1 stty erase - # Build a list of all boolean options stty accepts on this system. -options=`stty -a|tail -n +2|tr ';' '\012'|sed '/ = /d;s/^ //;s/-//g'` +options=`stty -a|tail -n +2|tr ';' '\n'|sed '/ = /d;s/^ //;s/-//g'` # Take them one at a time, with and without the leading `-'. for opt in $options; do @@ -54,7 +54,7 @@ done if test -n "$RUN_LONG_TESTS"; then # Take them in pairs. for opt1 in $options; do - echo .|tr -d '\012' + echo .|tr -d '\n' for opt2 in $options; do stty $opt1 $opt2 || fail=1 |