summaryrefslogtreecommitdiff
path: root/tests/stty
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-02-11 14:34:49 +0000
committerJim Meyering <jim@meyering.net>2002-02-11 14:34:49 +0000
commitc2fbf52745ae9ee7f383db02e4e6812983813f34 (patch)
treebe2f9a6f456b276f05d04d1ddd8edd52572ff0ac /tests/stty
parent5c754a018b99fcb2974b06961ff6b1c9d5a4ab00 (diff)
downloadcoreutils-c2fbf52745ae9ee7f383db02e4e6812983813f34.tar.xz
Use `tail -n +2', rather than `tail +2'.
Diffstat (limited to 'tests/stty')
-rwxr-xr-xtests/stty/basic-12
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stty/basic-1 b/tests/stty/basic-1
index 5c0533b06..3771fc24d 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 +2|tr ';' '\012'|sed '/ = /d;s/^ //;s/-//g'`
+options=`stty -a|tail -n +2|tr ';' '\012'|sed '/ = /d;s/^ //;s/-//g'`
# Take them one at a time, with and without the leading `-'.
for opt in $options; do