From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4217 invoked by alias); 11 Feb 2015 12:50:39 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19853 Received: (qmail 17043 invoked from network); 11 Feb 2015 12:50:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=donmez.ws; s=www; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=YY7EL1vHAwjaBtwdgB1M1SLpX552B8GAoUfCqPgape0=; b=Y7bwerB7YxiaIATwkUQtZZEMvcuHiLwlQVSa8TfdRwOrgSOMgMKBawHr5j9nfAVPYc BBypD+lp3pwGn0PLitEayBL3a7hv+r7aXM5JBnPR/1g+hqWOa5qnCy/nVvwumkk9ovgm efC6OszvLSreXfJihpAS/uLQAdem8ATiVH3sQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=YY7EL1vHAwjaBtwdgB1M1SLpX552B8GAoUfCqPgape0=; b=iGK5DM0qWHB8UxL6ihWnJ6PMZWpoqXkqldiFomgkbbYP/p+vpmncJgEqTC5H9JoO0w iB1OKQv6TKVwyTw6jK4Wq/wqE52kiuqNSH4M2oORf8f86KzJMJFGBKO1DaKkdqnYxfaj 4tFihioLGr6g3/tGmTpSwpZCy2rnuJ5TkAD5DmY9SmsIIvBbq9OzYtHDGcHL/WcLXM5t oQKZX/T00LIYmXVQg0WkM7MqGSWcD3AjUluSuUhJ/QUUVtoMM6d5dRe2/WXcZSWPOoxR 79x77c5ba/bbCPapgJIJK2QcCwRNUJtew8oabFScQCNekg2Dn9q52HedLp1e+SdAyV6m nXUQ== X-Gm-Message-State: ALoCoQlFMSysWczV9DQv9zRNpuuM8wWV4omFdzgBknIvLI/7kqsqKoQCuTIZb5quV8Cfh8OIjJVt X-Received: by 10.112.217.68 with SMTP id ow4mr27160059lbc.97.1423659034656; Wed, 11 Feb 2015 04:50:34 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <54DB4F5B.6070807@necoro.eu> References: <87386g8cm6.fsf@gmail.com> <54D8BBAC.2000405@necoro.eu> <54DB4F5B.6070807@necoro.eu> From: =?UTF-8?B?xLBzbWFpbCBEw7ZubWV6?= Date: Wed, 11 Feb 2015 14:50:14 +0200 Message-ID: Subject: Re: How to link to zsh manual section? To: =?UTF-8?Q?Ren=C3=A9_Neumann?= Cc: Zsh Users Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Feb 11, 2015 at 2:47 PM, Ren=C3=A9 Neumann wrote: > Am 11.02.2015 um 13:26 schrieb =C4=B0smail D=C3=B6nmez: >> Hi, >> >> On Mon, Feb 9, 2015 at 3:52 PM, Ren=C3=A9 Neumann wrot= e: >>> Am 08.02.2015 um 19:46 schrieb Christian Neukirchen: >>>> zzapper writes: >>>> >>>>> A few tips on negotiating the zsh manuals please >>>>> >>>>> man zshall etc >>>> >>>> # zman -- easier browsing of zsh manpage >>>> # 20sep2011 +chris+ >>>> zman() { >>>> PAGER=3D"less -g -s '+/^ "$1"'" man zshall >>>> } >>>> >>>> In doubt, press "n" a few times for the next results. >>>> >>> >>> Nice idea! One could enhance it a little (depending on one's preference= , >>> of course) by inserting (?i) into the search string, resulting in >>> case-independent search. >>> >>> -> PAGER=3D"less -g -s '+/(?i)^ "$1"'" man zshall >> >> This gives an "Invalid pattern" error here. > > Hmm, is your installation of 'less' using a regex library other than > pcre? (Because the less manpage says, that the regex may be anything the > underlying lib supports, and with libpcre-8.35 this works) That explains it, mine is not linking to pcre. However looks like even without ?i syntax it works case-independent. Regards, ismail