Unix questions - Problem with qmHandle and grep

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > December 2006 > Problem with qmHandle and grep





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem with qmHandle and grep
Milgaviel Mathilde

2006-12-07, 1:27 pm

Hello,

I am desperately search a 5000 item mail queue for mails addressed to
"@foo.com". I cannot get it to display the message numbers using the
command:

/root/qmHandle -L | grep "@foo.com" | wc -l

Please can somebody tell me why this only gives me a message count and
not a listing? I need this info and I am dead on my feet after 17 hours
on admin

Thank you

Mil

Milgaviel Mathilde

2006-12-07, 1:27 pm

Milgaviel Mathilde wrote:
> Hello,
>
> I am desperately search a 5000 item mail queue for mails addressed to
> "@foo.com". I cannot get it to display the message numbers using the
> command:
>
> /root/qmHandle -L | grep "@foo.com" | wc -l
>
> Please can somebody tell me why this only gives me a message count and
> not a listing? I need this info and I am dead on my feet after 17 hours
> on admin



Sorry to waste your time... I just realised "drop the pipe wc -l you
dumb XXXXX"

having a blonde day, sorry
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com