From owner-freebsd-questions Thu Jun 7 9:54:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from 1upmc-msximc1.isdip.upmc.edu (1upmc-msximc1.isdip.upmc.edu [128.147.18.39]) by hub.freebsd.org (Postfix) with ESMTP id 604F237B401 for ; Thu, 7 Jun 2001 09:54:40 -0700 (PDT) (envelope-from personrp@ccbh.com) Received: by 1upmc-msximc1.isdip.upmc.edu with Internet Mail Service (5.5.2653.19) id ; Thu, 7 Jun 2001 12:55:36 -0400 Message-ID: <46AEB8C1B628D511969200508B6FE42A6683B0@1upmc-msx6.isdip.upmc.edu> From: "Person, Roderick" To: 'Drew Tomlinson' , "FreeBSD Questions (E-mail)" Subject: RE: echo in Scripts Date: Thu, 7 Jun 2001 12:56:12 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0EF72.C1F0AE20" 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 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0EF72.C1F0AE20 Content-Type: text/plain; charset="iso-8859-1" did your try single quotes, since your not usig reference variables. Roderick P. Person Programmer II (412)454-2616 personrp@ccbh.com http://www.ccbh.com "It's like trying to get a monkey to do something a monkey can't do." -self > -----Original Message----- > From: Drew Tomlinson [mailto:drewt@writeme.com] > Sent: June 07, 2001 12:02 PM > To: FreeBSD Questions (E-mail) > Subject: echo in Scripts > > > 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 > ------_=_NextPart_001_01C0EF72.C1F0AE20 Content-Type: text/html; charset="iso-8859-1" RE: echo in Scripts

did your try single quotes, since your not usig reference variables.

Roderick P. Person
Programmer II
(412)454-2616
personrp@ccbh.com
http://www.ccbh.com

"It's like trying to get a monkey to do something a monkey can't do."
        -self




> -----Original Message-----
> From: Drew Tomlinson [mailto:drewt@writeme.com]
> Sent: June 07, 2001 12:02 PM
> To: FreeBSD Questions (E-mail)
> Subject: echo in Scripts
>
>
> 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
>

------_=_NextPart_001_01C0EF72.C1F0AE20-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message