[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pesky here-document warnings
From: |
Greg Wooledge |
Subject: |
Re: Pesky here-document warnings |
Date: |
Tue, 16 Nov 2010 16:30:43 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Tue, Nov 16, 2010 at 01:13:48PM -0800, Mun wrote:
> I often get the following e-mailed to my by my system with the subject
> of "Output from your job <number>":
In other words, an at(1) job.
> 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:])`')
sh, and not bash? That could be the primary culprit.
It looks like you attempted to run code like this, in an at(1) job:
something < <(dd if=...)
Only, one of two things prevented it from working as expected:
1) You screwed up and wrote <<(dd if=...) instead of < <(dd if=...)
2) You ran it under sh instead of bash. E.g. by passing it directly
to at(1) on a system where at(1) uses sh for its commands.
> I have no idea which job could be producing this error? Does it look
> familiar to anyone? Any ideas on how I can track down the culprit?
Um... they're your at(1) jobs, not ours. I doubt anyone else has those
same jobs queued.
Re: Pesky here-document warnings,
Greg Wooledge <=