script to label out put of command

I have a command that I run and it prints out three numbers to the screen after it runs, I need to make a script with these three commands in
it, then take the three numbers and give them a lable and print this to the screen.


Command and the three numbers it prints out to the screen

find /mail/queue/ -type f | egrep -v '\.etc$' | wc -l;find /mail/queue/ -type f | wc -l;find /mail/queue/ -type f -name *.etc | wc -l

What I want to do with these three numbers would be to print this out to the screen using the number it put out.

Queue 1  3238
Queue 2  3647
Queue 3   409

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

No need for Perl.

echo "Queue 1 " `find /mail/queue -type f | grep -vc '.etc$'`
echo "Queue 2 " `find /mail/queue -type f | wc -l`
echo "Queue 3 "  `find /mail/queue -type -name -name "*.etc" | wc-l`

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bt707Author Commented:
Thanks Tintin, that worked great!!

Thanks again
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.