Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jun 2001 14:56:55 -0700
From:      Drew Tomlinson <drewt@writeme.com>
To:        'Alex Dyas' <ADyas@twowaytv.com>, "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.org>
Subject:   RE: echo in Scripts
Message-ID:  <5CD46247635BD511B6B100A0CC3F0239259F76@ldcmsx01.lc.ca.gov>
In-Reply-To: <911D8F660DF6D411B61F00500462BA01925F33@EXCHANGE>

next in thread | previous in thread | raw e-mail | index | archive | help
> -----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5CD46247635BD511B6B100A0CC3F0239259F76>