reopen 375931
retitle 375931 warning message on tail +8, use tail -n +8 
thanks


At Fri, 7 Jul 2006 09:04:19 +0200,
Steinar H. Gunderson wrote:
> 
> On Fri, Jul 07, 2006 at 08:42:30AM +0200, Tollef Fog Heen wrote:
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376777 is the root 
> > cause of this.
> 
> In that case, this is not a bug in auto-apt; closing. (We could reassign and
> merge, but, well. :-) )

There's one bug that's not addressed; the warning message.

Here is the culprit:
+ tail +8
tail: Warning: "+number" syntax is deprecated, please use "-n +number"


--- /usr/bin/auto-apt   2006-07-07 07:48:56.000000000 +0900
+++ auto-apt    2006-07-07 19:20:47.000000000 +0900
@@ -174,7 +174,7 @@
             fi
             requirepkg /usr/bin/wget wget
             # /usr/bin/wget -q -O ${u}_Contents-$ARCH.gz 
$method:$url/Contents-$ARCH.gz >&2
-             wget $wgetopt -O ${u}_Contents-$ARCH.gz 
$method:$url/Contents-$ARCH.gz 2>&1 | tail +8 >&2
+             wget $wgetopt -O ${u}_Contents-$ARCH.gz 
$method:$url/Contents-$ARCH.gz 2>&1 | tail -n +8 >&2
            fi
           ;;
         rsh|ssh)


regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to