projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b38198f
)
Fix non-portable use of `tr' that caused this test
author
Jim Meyering
<jim@meyering.net>
Tue, 25 May 1999 16:43:57 +0000
(16:43 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 25 May 1999 16:43:57 +0000
(16:43 +0000)
to fail when run with a SysV-style tr. Based on a patch from Kaveh Ghazi.
tests/stty/basic-1
patch
|
blob
|
history
diff --git
a/tests/stty/basic-1
b/tests/stty/basic-1
index
9fcb8ea
..
a91115d
100755
(executable)
--- a/
tests/stty/basic-1
+++ b/
tests/stty/basic-1
@@
-26,7
+26,7
@@
stty --save > $saved_state || fail=1
stty `cat $saved_state` || fail=1
# Build a list of all boolean options stty accepts on this system.
-options=`stty -a|tail +2|tr ';' '\012'|sed '/ = /d;s/^ //'|tr -s ' -' '\012'`
+options=`stty -a|tail +2|tr ';' '\012'|sed '/ = /d;s/^ //'|tr -s ' -' '\012
\012
'`
# Take them one at a time, with and without the leading `-'.
for opt in $options; do