From owner-freebsd-questions Thu Jun 7 14:57:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lcmail2.lc.ca.gov (lcmail2.lc.ca.gov [165.107.12.11]) by hub.freebsd.org (Postfix) with ESMTP id 070CD37B405 for ; Thu, 7 Jun 2001 14:57:31 -0700 (PDT) (envelope-from drewt@writeme.com) Received: from CONVERSION-DAEMON by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) id <0GEK00D01YCA6C@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.org; Thu, 7 Jun 2001 14:57:49 -0700 (PDT) Received: from bigdaddy ([165.66.11.101]) by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) with SMTP id <0GEK005HIYC9HX@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.org; Thu, 07 Jun 2001 14:57:46 -0700 (PDT) Date: Thu, 07 Jun 2001 14:56:55 -0700 From: Drew Tomlinson Subject: RE: echo in Scripts In-reply-to: <911D8F660DF6D411B61F00500462BA01925F33@EXCHANGE> To: 'Alex Dyas' , "FreeBSD Questions (E-mail)" Message-id: <5CD46247635BD511B6B100A0CC3F0239259F76@ldcmsx01.lc.ca.gov> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal 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 > -----Original Message----- > From: Alex Dyas [mailto:ADyas@twowaytv.com] > Sent: Thursday, June 07, 2001 9:09 AM > To: FreeBSD Questions (E-mail) > Subject: RE: echo in Scripts > > > Do the echos display to the terminal if you run it from the > command line and > don't redirect the output? Yes. > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message