Re: less for CentOS6 with POSIX regex?

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



In article <55761C28.507@xxxxxxx>,
Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg@xxxxxxx> wrote:
> 
> 
> On 06/09/2015 12:48 AM, Nicolas Thierry-Mieg wrote:
> > On 06/09/2015 12:33 AM, tony@xxxxxxxxxxxxx (Tony Mountifield) wrote:
> >> In article <ml1jnh$afr$1@xxxxxxxxxxxxxxxxxxxxx>,
> >> Tony Mountifield <tony@xxxxxxxxxxxxx> 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@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