From owner-freebsd-bugs Wed Oct 6 2:43:54 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198]) by hub.freebsd.org (Postfix) with ESMTP id 6F61C14D76 for ; Wed, 6 Oct 1999 02:43:45 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id KAA37661; Wed, 6 Oct 1999 10:43:10 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id KAA00971; Wed, 6 Oct 1999 10:43:56 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <199910060943.KAA00971@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Ruslan Ermilov Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/14150: /usr/binlast does not accept input from stdin nor does it process .gz files In-reply-to: Your message of "Wed, 06 Oct 1999 00:30:01 PDT." <199910060730.AAA33069@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 06 Oct 1999 10:43:55 +0100 From: Brian Somers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [.....] > > So, why is this a problem? After all, there is the -f option, right? > > > Right :-) > > `/usr/bin/last -f /dev/stdin < wtmp-format-file' will do the trick. Well, no. last(1) tries to seek and fails. > As for .gz files, it's bloat. I agree. The originator should either remove the Z bit in newsyslog.conf or uncompress the files manually. > -- > Ruslan Ermilov Sysadmin and DBA of the > ru@ucb.crimea.ua United Commercial Bank, > ru@FreeBSD.org FreeBSD committer, > +380.652.247.647 Simferopol, Ukraine > > http://www.FreeBSD.org The Power To Serve > http://www.oracle.com Enabling The Information Age -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message