Given the following command,
echo "1: " | awk '/1/ -F ":" {print $1}'
why does AWK output:
1:
?
-F is a command line argument, not AWK syntax. Try:
-F
echo '1: ' | awk -F ':' '/1/ {print $1}'