1833777 Members
2462 Online
110063 Solutions
New Discussion

nawk and awk?

 
SOLVED
Go to solution
Chua Wen Ching
Regular Advisor

nawk and awk?

I had some confusion here. Can hp-ux 10.20 support nawk? Is nawk similar to awk? Thank you.
wenching
5 REPLIES 5
steven Burgess_2
Honored Contributor

Re: nawk and awk?

Hi

They are essentialy the same, nawk is a newer version of awk

http://www.cs.uu.nl/~piet/docs/nawk/nawk_toc.html

HTH

Steve
take your time and think things through
Leif Halvarsson_2
Honored Contributor
Solution

Re: nawk and awk?

Hi
If I remember correct awk in HP-UX is the newer version of awk, sometimes called nawk. For some years ago there was both the older awk and nawk but in later versions of HP-UX the old awk was removed and nawk was "renamed" to awk. In Solaris (for example) the two versions coexists.
H.Merijn Brand (procura
Honored Contributor

Re: nawk and awk?

But if you want a portable version of awk, go for GNU awk. Sources available from ftp://download.xs4all.nl/pub/mirror/gnu/gawk/

But - reading that you are starting with awk and shell programming - it might give you a jump start to learn perl.
Enjoy, Have FUN! H.Merijn
A. Clay Stephenson
Acclaimed Contributor

Re: nawk and awk?

On HP-UX (unlike Solaris) awk and nawk are the same.
If it ain't broke, I can fix that.
Chua Wen Ching
Regular Advisor

Re: nawk and awk?

I will test on the gawk. I had some knowledge on awk but i saw some internet resources on nawk? It make me confuse. But now i really understand already between awk and nawk. Thank you.
wenching