Bob Tanner <tanner at real-time.com> wrote:
> 
> 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?

`ls|egrep '^kernel\.'` ?

-- 
 _  _  _  _ _  ___    _ _  _  ___ _ _  __   Error 13: Your search 
/ \/ \(_)| ' // ._\  / - \(_)/ ./| ' /(__   violated laws in  
\_||_/|_||_|_\\___/  \_-_/|_|\__\|_|_\ __)  thirteen states. 
[ Mike Hicks | http://umn.edu/~hick0088/ | mailto:hick0088 at tc.umn.edu ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20011102/5f854e91/attachment.pgp