/^[^ \t]/ { printf "line begins with non-whitespace: %s\n", $0 next } /./ { printf "line begins with whitespace: %s\n", $0 }