On Fri, Jan 15, 2010 at 1:21 PM, George Mitchell <geo...@m5p.com> 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 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"