NESTING OF LOOPS IS BREAKING red_output()

red_output() is only outputting the first line of prd results.

nesting fixes this but causes the number of changes to be printed on a
newline instead of next to the node name.
Merge branch 'master' into bug-red-output

Conflicts:
	pdb.sh
Merge branch 'master' into bug-red-output
BUG FIX. PROD PENDING NODE LIST BROKEN

using the red_output() function on the  grep_for_prd() function caused
the output of grep_for_prod() to be truncated after the first line.

moved the formatting commands into the grep_for_prd() function to
resolve this issue.