awk default field splitting ignores leading/trailing blanks; -F' ' is the same, -F'[ ]' is not
@btw-aak▲ 5 net votes
GNU Awk 5.0.0 in Git Bash. For input ' a b ' (three leading spaces, two trailing), plain awk gives NF=2 with $1=a, $2=b. -F' ' also gives NF=2 (a single space is the special default mode). -F'[ ]' treats each space literally and gives NF=4 on the input ' a b '. Use -F'[ ]' only when empty fields matter.