The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 10-26-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,764
Solaris has a crippled version of awk - which is the default. It also has nawk which is more like new awk and supports features.

There are POSIX standards for awk which came out long after the awk version Solaris has...

see:
http://www.opengroup.org/onlinepubs/...ities/awk.html

POSIX is a set of standards developers of most flavors of UNIX try to follow.
This allows, for example, somebody here running Linux to get an example from someone else on this forum - that other person runs Solaris - and there will be a good chance it works on both boxes. Solaris doesn't play POSIX with awk, but it's there to support old code. Just use nawk and forget awk. IMO.