> There is split and other functions, > for example: > > toupper("aí") > gives > Aí > > My guess is that there are many more little (or not) corners where it > doesn't work.
Yes, and then there is locale: does [a-z] include ij when you run it in Holland (it should)? Does it include á, è, ô in France (it should)? Does it include ø, å in Norway (it should not)? And what happens when you evaluate "è" < "o" (it depends)? Fixing awk is much harder than anyone things. I had a chat about it with Brian Kernighan and he says he's been thinking about fixing awk for a long time, but that it really is a hard problem. Sape