diff options
author | Jim Meyering <jim@meyering.net> | 2002-02-11 14:34:49 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-02-11 14:34:49 +0000 |
commit | c2fbf52745ae9ee7f383db02e4e6812983813f34 (patch) | |
tree | be2f9a6f456b276f05d04d1ddd8edd52572ff0ac /tests/stty/basic-1 | |
parent | 5c754a018b99fcb2974b06961ff6b1c9d5a4ab00 (diff) | |
download | coreutils-c2fbf52745ae9ee7f383db02e4e6812983813f34.tar.xz |
Use `tail -n +2', rather than `tail +2'.
Diffstat (limited to 'tests/stty/basic-1')
-rwxr-xr-x | tests/stty/basic-1 | 2 |
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 |