delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/01/30/13:50:17

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=LFVGUMibrOA9G7kk
MWHRDx0gwwUHPfFABfC+ba7A7Xvobh6Uea8VNB8IqdhJLtO2WUzc2UkEP4KB+3bK
1cqA82OXf2w+u3BIBHQB9QArohLkRTGfvTvkDKugz0i1i0q+eA7lyMynmcxPVa1j
7W1k5i83ZYUs9ARloOHrEPYyONg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=cIwV9XlKIMubaqBhyCzZWb
2038I=; b=MpNDBeaULkgEhkg3HmDJ5EEdq44dyrG5fCQCbGZJ70IjMK6c64O2lT
nNFuQsyMSgGF6xyAjIcJvtpUSyQ1CdpiJZHz4dliHcvC7T0VCkQ+S7C27L2BzDP0
G92cDSRLRkRoOhDDRp+KXgPPEF3IG/If5Pr1CQ4JMOyhOuJRMIbxg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*UA:Bat!, UD:ru, H*F:D*ru, white
X-HELO: forward100p.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1548874203; bh=ZWOEbjATmJMdNo2Vz2C7CEbrH3dvc44yxo9rfhQR5v0=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=PmBNtm6y04kZ15kAPrvEaRaNmZiNClq5Brmmk4nDINmKkwyrtxogYzSZw+kH7KLNG tMp0NE2muPueCn4DywHfERfjZ1AgDh74wuVLpg9pomp7ZayqFcVuag1+vU8MKLwb0A 6wlj68AUX7CUfuoNtxxGWjAdZg7ZivcjO7Xv9qL4=
Authentication-Results: mxback11o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Wed, 30 Jan 2019 21:40:43 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1210066491.20190130214043@yandex.ru>
To: L A Walsh <cygwin AT tlinx DOT org>, cygwin AT cygwin DOT com
Subject: Re: manpage searches "^\s+keyword\s" vs. ???
In-Reply-To: <5C4E5F0F.2090403@tlinx.org>
References: <5C4E5F0F DOT 2090403 AT tlinx DOT org>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x0UIoGPH001590

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,
Andrey Repin
Wednesday, January 30, 2019 21:36:27

Sorry for my terrible english...
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019