{ 
    if ( $3 == "FULL" )
    {
      printf "xmitBin -verbose -nc -d %s -f %s", $1, $2;
    }
    else
    {
      printf "xmitBin -verbose -nc -d %s -f %s -patch %s", $1, $2, $3;
    }
    for ( i = 4; i <= NF; ++i )
      printf " %s", $i;
    printf "\n";
}


syntax highlighted by Code2HTML, v. 0.9.1