Forum Discussion
REastman_249266
Jan 11, 2018Historic F5 Account
Your syntax is incorrect compared to the posted code. You don't have a space between the single quotes before print. Posted code: CERTEXPIRE=$(echo $line | awk -F 'expired on ' '{print $2}') Your code: CERTEXPIRE=$(echo $line | awk -F 'expired on ''{print $2}')