Date: Fri, 18 Aug 2017 14:26:17 +0100 From: Jamie Landeg-Jones <jamie@catflap.org> To: kiri@kx.openedu.org, freebsd-current@freebsd.org Subject: Re: BSD awk bug ? Message-ID: <201708181326.v7IDQHFd058028@donotpassgo.dyslexicfish.net> In-Reply-To: <201708160315.v7G3FlAV081765@kx.openedu.org> References: <201708160114.v7G1EkxS079546@kx.openedu.org> <20170816013634.GA8152@tomoyat1.com> <201708160315.v7G3FlAV081765@kx.openedu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
KIRIYAMA Kazuhiko <kiri@kx.openedu.org> wrote: > Oops. I missed "STANDARDS" section. Thanks for pointed out. > > # But as it says in front "awk supports extended regular > # expressions (EREs). See re_format(7) for more information > # on regular expressions.", I'd like to coinside with > # re_format(7) spec. > > > > > Someone please correct me if I'm wrong. I agree. It's a pain in the arse. In these situations, I've had to use gawk instead (You can set POSIXLY_CORRECT in gawk if it helps you feel cleaner! :-) ) There is also 'mawk' in ports/lang, but I've never tried that. Cheers, Jamie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708181326.v7IDQHFd058028>