The unix scripting forum gave me some script to perform what I needed, but I am stuck with an issue:
#begin code
BEGIN {
RS=FS=""
}
$1 ~ /^CB +/ && $2 ~ /^YES +/ { print prev }
{prev=$NF}
#end code
At the top of my file there is similiar to text below:
USERCODE:beaster
PASSWORD:
WO...