I'm guessing there is an alias awk=nawk. Solaris awk is, um, defective, so advanced features require nawk - the new awk. As superuser, try
, then see what you get as another user from the same command.
In general you do not want to run around the system doing things in privileged mode. It's to easy to do something horrendous