ok..i have an interesting issue. I built a script into linux and now it doesn't 
work on solaris's nawk.

This specific piece DOES work in /usr/xpg4/bin/awk.
--
$ /usr/bin/nawk -F= '/\<PATH\>=/{print $2}' shellout.txt
--

shellout.txt contains something like ...

PATH=pth1:path2:pth3

Any suggestions and workarounds to keep it compatible across the operating 
systems?
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to