From owner-freebsd-questions Thu Jun 7 9:12:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from exchange.twowaytv.co.uk (exchange.twowaytv.co.uk [194.6.2.173]) by hub.freebsd.org (Postfix) with ESMTP id 8F2C737B405 for ; Thu, 7 Jun 2001 09:12:28 -0700 (PDT) (envelope-from ADyas@twowaytv.com) Received: by EXCHANGE with Internet Mail Service (5.5.2653.19) id ; Thu, 7 Jun 2001 17:09:11 +0100 Message-ID: <911D8F660DF6D411B61F00500462BA01925F33@EXCHANGE> From: Alex Dyas To: "FreeBSD Questions (E-mail)" Subject: RE: echo in Scripts Date: Thu, 7 Jun 2001 17:09:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Do the echos display to the terminal if you run it from the command line and don't redirect the output? > I'm starting a script and directing the output to a file. This is the > command: > > /usr/local/sbin/lynx-dyn.sh >> /var/log/lynx_dns_update.log > > In the script (amongst other things), I have lines like this: > > echo "Some meaningful output" > > The script runs and the commands execute but my logfile never > shows the echo > command output. Can anyone tell me why and what I need to do > to fix it? > > Thanks, > > Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message