Re: manpage searches "^\s+keyword\s" vs. ???
- Date: Wed, 30 Jan 2019 21:40:43 +0300
- From: Andrey Repin <anrdaemon@xxxxxxxxx>
- Subject: Re: manpage searches "^\s+keyword\s" vs. ???
Greetings, L A Walsh!
> I've always used "^\s+keyword\s" as a way to search for some
> keyword starting a section.
Welcome to the club.
> On linux it still works, but on cygin it doesn't like '\s' as
> symbol for white space.
> Any idea why there might be a difference?
> I note an option that could do similar in less -- '&pattern'
> turns OFF single special characters, I tried that on linux
> and it turned off the '\s' matching space. That's nice..um
> how about other way?
> Well didn't know if there might be some other op to go the
> other way, but didn't see anything.
> any ideas?
I've been puzzled by this since… forever, it seems.
This is something in less, but all the `man less` says is "regular expression
library provided by your system".
I guess this is down to compilation options at this point.
With best regards,
Wednesday, January 30, 2019 21:36:27
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple