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:
echo "1: " | awk -F ":" '/1/ {print $1}'
2.1m questions
2.1m answers
60 comments
57.0k users