]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Use `tail -n +2', rather than `tail +2'.
authorJim Meyering <jim@meyering.net>
Mon, 11 Feb 2002 14:34:49 +0000 (14:34 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 11 Feb 2002 14:34:49 +0000 (14:34 +0000)
tests/stty/basic-1

index 5c0533b06d84583ddb85cdcc3db336a5a55b8e84..3771fc24d3dd59dc0f6a74f3bd8e9ffbd45f76cc 100755 (executable)
@@ -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