Hi
Your problem is when the shell resolves the kernel.*, the resulting line is way
too long. It's either limited to 1024 or 2048 chars. Whenever I hit this, I
usually use an awk script with the system function, but I don't know what your
shell is going to do with it. Something like:
ls kernel.* | awk '{system("cat " $1 "| /usr/lib/sendmail linux-kernel
@lists.real-time.com");system("sleep 5s")}'
I'd avoid putting any returns in the line, I just put it there to keep in the
margins and there's no space before the @.
Let me know if you need more.
Ed Hoeffner
1-271 BSBE
312 Church St. SE
Mpls, MN 55455
hoeffner at dcmir.med.umn.edu
612-625-2115
612-625-2163 fax
Ok, I got 48,859 msg that I need to inject into the archives.
I tried this little script:
for i in `ls kernel.*`; do
cat $i | /usr/lib/sendmail linux-kernel at lists.real-time.com;
sleep 5s;
done
The messages are called kernel.* (space is just for readability).
I get this message:
bash: /bin/ls: Argument list too long
Anyone have a quick hack for me to get this working?