From owner-cvs-usrbin Mon Apr 6 09:16:21 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA12721 for cvs-usrbin-outgoing; Mon, 6 Apr 1998 09:16:21 -0700 (PDT) (envelope-from owner-cvs-usrbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA12665; Mon, 6 Apr 1998 09:16:11 -0700 (PDT) (envelope-from peter@FreeBSD.org) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA02563; Mon, 6 Apr 1998 09:13:50 -0700 (PDT) Date: Mon, 6 Apr 1998 09:13:50 -0700 (PDT) Message-Id: <199804061613.JAA02563@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/tail extern.h forward.c tail.1 tail.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1998/04/06 09:13:50 PDT Modified files: usr.bin/tail extern.h forward.c tail.1 tail.c Log: Add a new -F flag which is a superset of -f. It will cause tail to stat() the file being followed and do a close/reopen if the file has been renamed and/or rotated. This is damn useful for leaving running on files in /var/log when newsyslog(8) rotates them. Revision Changes Path 1.4 +1 -1 src/usr.bin/tail/extern.h 1.11 +16 -0 src/usr.bin/tail/forward.c 1.3 +20 -1 src/usr.bin/tail/tail.1 1.5 +5 -2 src/usr.bin/tail/tail.c