1

Can i update my commands( like awk,sed) to the latest release in solaris?

view story
linux-howto

http://unix.stackexchange.com – bash-3.00# awk '{print NR}' f1.txt 1 2 3 4 but FNR does not print anything. awk '{print FNR}' f1.txt the above line does not gives me any output,seems that the awk that i am having in my sun os does not have FNR variable. so can i do something about it to standardize it. also, can i get a library of all latest commands and install/update my current commands like sed,sort etc. SunOS unknown 5.10 Generic_142910-17 i86pc i386 i86pc (HowTos)