>>672
typeじゃないよ。argv[1] で合ってる。
argv[0] は awk の文字列。