[CentOS] less for CentOS6 with POSIX regex?

Tue Jun 9 08:39:14 UTC 2015
Tony Mountifield <tony at softins.co.uk>

In article <55761C28.507 at imag.fr>,
Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr> wrote:
> 
> 
> On 06/09/2015 12:48 AM, Nicolas Thierry-Mieg wrote:
> > On 06/09/2015 12:33 AM, tony at softins.co.uk (Tony Mountifield) wrote:
> >> In article <ml1jnh$afr$1 at softins.softins.co.uk>,
> >> Tony Mountifield <tony at softins.co.uk> wrote:
> >>> 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'm sure there must be other people who would find the corrected RPMs
> >> useful,
> >> so my questions now are:
> >>
> >> a) Is there a contributors repo to which it would be appropriate to
> >> submit them?
> >>
> >> b) Is there a better way to number the release for this version?
> >
> > it may be better to change the package name to less-posix rather than
> > change the release number, and have the new package conflict with less.
> > That way once you've installed it, it won't get squashed by a yum update.
> 
> you might need to have it provide "less" though, to avoid unmet deps eg 
> for man or gzip.

Excellent points - thanks! I'll have a play and see what I can do.

Would still like to know how/where best to contribute them.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org