bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pesky here-document warnings


From: Mun
Subject: Re: Pesky here-document warnings
Date: Tue, 16 Nov 2010 15:13:13 -0800
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Chet, Greg,

Thanks for your replies.

On Tue, Nov 16, 2010 at 01:22 PM PST, Chet Ramey wrote:
CR> > Hi,
CR> > 
CR> > I often get the following e-mailed to my by my system with the subject
CR> > of "Output from your job <number>":
CR> > 
CR> > ------------------------------ Delimiter BEGIN 
--------------------------------
CR> > 
CR> > sh: line 497: warning: here-document at line 494 delimited by end-of-file 
(wanted ``(dd if=/dev/urandom count=200 bs=1 2>/dev/null|LC_ALL=C tr -d -c 
[:alnum:])`')
CR> > 
CR> > ------------------------------- Delimiter END 
---------------------------------
CR> > 
CR> > I have no idea which job could be producing this error?  Does it look
CR> > familiar to anyone?  Any ideas on how I can track down the culprit?
CR> 
CR> The shell thinks you have an unterminated here document.  Have you looked at
CR> like 494 of the script producing this error message?

That's just it, I don't have any cron scripts that use here-documents.
Most of my cron jobs are fairly trivial scripts less than 100 lines long.

I'm running on a Red Hat Enterprise Linux 5.5 system, and my guess is
that the system is running something on my behalf.  But I don't know
what.

At first I was able to ignore the messages because I could not detect
any anomalies.  But now I've reached my threshold where the messages
(sometimes up to about ten in a day) are starting to annoy me.

Thanks again for the replies.

Regards,

-- 
Mun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]