With POSIX awk, I'd use match and the builtin RSTART and RLENGTH variables: #!awk { s = $0 while (match(s, /[[:alpha:]]+/)) { word ...
確定! 回上一頁