bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sub("@\^","^",$0) doesn't


From: Clinton Wittstruck
Subject: sub("@\^","^",$0) doesn't
Date: Thu, 19 Dec 2002 17:25:51 -0800

I've noticed a weird discrepency between awk on HP-UX 11.0 and Red Hat Linux 2.2.16-22 (GNU Awk 3.0.6 -- I also downloaded and tested gawk 3.1.1)
 
For an occurance of "@^", substitue "^" -- (strip out the "@" before "^")
 
I tried: sub("@\^","^",$0)
 
On HP-UX awk this works but with gawk on Linux it does not.
 
 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]