If 'ajpv12://' and ':8008/root' are always going to be the same:
awk '/:8008/root/ {printf $3 "\t"}' $x | sed 's/ajpv12:////g' | sed 's/:8008/root//g'
If these change then your going to need either a more complex awk, or more complex sed expression.
-Ross
Marvelous. Thanks for taking the time to help me Ross. This is going to be extremely helpful.
Sean