less for CentOS6 with POSIX regex?

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



When I started using CentOS 6 instead of CentOS 5, I discovered that
"less" no longer understood \< and \>, which I had been used to using
since almost forever.

Eventually research revealed that in the Fedora version on which
RHEL 6 was based, "less" had been built with the PCRE regex library
instead of a POSIX one. So instead of \< and \>, I had to use \b.

I found a bugzilla entry about this, which showed that the change had
been reverted in a later Fedora release. So I tested CentOS 7, and found
"less" has been reverted to using POSIX regex, which I'm glad about.

What I want to know is: do any repos have a replacement version of
"less" for CentOS 6 that has been built with POSIX regex, so that
I don't have to keep switching between the two styles when working
on different CentOS versions?

Cheers
Tony
-- 
Tony Mountifield
Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk
Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux