Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2001 17:09:08 +0100 
From:      Alex Dyas <ADyas@twowaytv.com>
To:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.org>
Subject:   RE: echo in Scripts
Message-ID:  <911D8F660DF6D411B61F00500462BA01925F33@EXCHANGE>

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




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