bt707
asked on
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.
Ex:
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
3238
3647
409
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
Thanks,
it, then take the three numbers and give them a lable and print this to the screen.
Ex:
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
3238
3647
409
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
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks again