Hi vlad/PH
Sorry I took a long time to check this program.
Well, my OS informations are
SunOS 5.6 Generic_105181-28 sun4u sparc SUNW,Ultra-Enterprise
It has both awk and nawk.
As you said(vlad), i tried using nawk, its working fine only after i removed the "$" symbol i.e instead of...