From owner-freebsd-questions@FreeBSD.ORG Wed Aug 20 05:09:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C8DE16A4BF for ; Wed, 20 Aug 2003 05:09:57 -0700 (PDT) Received: from remt24.cluster1.charter.net (remt24.cluster1.charter.net [209.225.8.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C4E143F75 for ; Wed, 20 Aug 2003 05:09:55 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt24.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 128770860 for freebsd-questions@freebsd.org; Wed, 20 Aug 2003 08:09:48 -0400 From: "Charles Howse" To: Date: Wed, 20 Aug 2003 07:09:43 -0500 Message-ID: <002e01c36713$f11dd6d0$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Customize Daily Run Report X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 12:09:57 -0000 Hi, I have the following in /usr/local/etc/periodic/daily/100.cvsup #!/usr/local/bin/bash /usr/local/bin/cvsup -g -L 2 /etc/cvsupfile When I get my daily run report, the output of the above script is appended to the report without a blank line or (what I would call) a header line. Would it be acceptable to modify my script as follows: #!/usr/local/bin/bash Echo >> which.file Echo "Output of /usr/local/etc/periodic/daily/100.cvsup:" >> which.file /usr/local/bin/cvsup -g -L 2 /etc/cvsupfile Where 'which.file' is the daily run report? This is a littly picky, I know. Thanks, Charles