From: Jim Meyering Date: Mon, 11 Feb 2002 14:34:49 +0000 (+0000) Subject: Use `tail -n +2', rather than `tail +2'. X-Git-Tag: TEXTUTILS-2_0_21~97 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c2fbf52745ae9ee7f383db02e4e6812983813f34;p=thirdparty%2Fcoreutils.git Use `tail -n +2', rather than `tail +2'. --- diff --git a/tests/stty/basic-1 b/tests/stty/basic-1 index 5c0533b06d..3771fc24d3 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