Jan 23, 2008 #1 ranjit Technical User Joined Apr 14, 2000 Messages 131 Location GB Is the "[^[:alnum:]]" notation for specifying a field seperator valid for Solaris? echo "AA!BB,CC DD" | nawk -F "[^[:alnum:]]" '{print $3}' The above works on AIX however not on Solaris
Is the "[^[:alnum:]]" notation for specifying a field seperator valid for Solaris? echo "AA!BB,CC DD" | nawk -F "[^[:alnum:]]" '{print $3}' The above works on AIX however not on Solaris
Feb 6, 2008 #2 risby Programmer Joined Feb 27, 2002 Messages 84 Worked OK on SunOS mks3 5.8 Generic_117350-28 sun4u sparc SUNW,Sun-Blade-1000 although it required gawk rather than awk or nawk. ========================================== I phoned the local ramblers club today, and this bloke just went on and on. Upvote 0 Downvote
Worked OK on SunOS mks3 5.8 Generic_117350-28 sun4u sparc SUNW,Sun-Blade-1000 although it required gawk rather than awk or nawk. ========================================== I phoned the local ramblers club today, and this bloke just went on and on.