On Fri, Jan 15, 2010 at 1:21 PM, George Mitchell <[email protected]> wrote:
> Try quoting the "/\/{2,}/" in your call to gsub. -- George
Doesn't work :(...:
nawk (FreeBSD) --
[gcoo...@optimus ~]$ echo //////// | awk '{ gsub ("//{2,}/", "/"); print }'
////////
gawk (Gentoo Linux) --
gcoo...@orangebox /scratch/ltp/scripts $ echo //////// | awk '{ gsub
("//{2,}/", "/"); print }'
////////
Thanks!
-Garrett
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"