From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23377 invoked from network); 4 Oct 2022 19:21:16 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 4 Oct 2022 19:21:16 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1664911276; b=J82z5aft3IryWnTbOOT5lxcA2Pa8E7m5DjtVfL49NgHXdYkRBw0VmMbkMJoZaTeF7r71jD7pE7 1RXFScikDSbQpNVKKDShqz/GPi2KRa2CeapcdpeHIl+kHOldnNBg3XnThU/J4OXuv+v+mpVOoB EZEGQ1Jh9rzK11Mldgc0eGOsnVTixcJiZ1m6//73s0AFvPKnlQotNpY4b1/soNs8BkVltDrveH 5Iz/4p5oFH2JdDI1hcIgPHY371FhViZyRXgIObY6HYY/e7mSuAHU9XxM3etRn5OfR8eMJYNXRq g5gXcwMM2BlRir0TS66zngK1zFusfi0V2YL3CS0x/67FUw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-pl1-f171.google.com) smtp.remote-ip=209.85.214.171; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1664911276; bh=qHB3pcGfTopStfUc4ycdfGKFwkPxiIWilCzB+O1hfHI=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=Xwsp+AMfrkLIeRB96Unj6ECcCMxJfInNOYqe4LqhLaW8w1nu2BwQMqt2VHDbbxLR+cPgUw+Tk+ Js5wUbPTQsmGYjKoLLctKMXhBOgXPfEZNYtdO8mibOGGN1EwT7b+liuIzQ9118tOuAHrMYNkU5 Vc+qAReJsspBKjTzZoUP5lSAykspTIBKqzlZ8Lp+L1qEhpc2zyDVKt8GpSL/wD+Tz/gLXHzxl1 SoqxEtXjFtUdEunHh/Yuk+aLlJDbpzKszcIVCx4pWJZm5OO8w3q83Mz16hI5QgCMWlEyX5aJEI +DW2uivPPuoxUDDL22G0Ss8c8oZfPFO0qKBbKZJfoJF6cQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=SZe/JnUi7/fWatC/gyoS2AXlOR8LtDQu7PMsuNgceP8=; b=FJSl7fS9XNziep2mXRWi463/ad 7WMYoPp9RxvUp5/OrzlRz4uUHHlzWvxCd9IT03eVSqL79Bz7e24XtIX14pd7A3DmIRv83TlaoJfP7 OAbxO7f+e0tVAZ6X0C0EOUfN8xJuiheCEQ9qL/pItSbDzWv1BgjqDJLMenb2Ur5tPkKhE/OmL1wNO fNYAK4ZvuQJxY0f3C5/BDJnK/YgXqHGG6N/3HyHZi+S0zSTxN/d4cXHXQ7Vgg8UYt497muTjdeBAT AhNo5Y1skkofkYAhvIGXUlYfBr4TkTLCFJaaa3cA+YCUpqrts1K6ha9mgSVRqoM+1YbdCdTQDoyUK H9FhWUng==; Received: from authenticated user by zero.zsh.org with local id 1ofnTg-000JIZ-BY; Tue, 04 Oct 2022 19:21:16 +0000 Authentication-Results: zsh.org; iprev=pass (mail-pl1-f171.google.com) smtp.remote-ip=209.85.214.171; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-pl1-f171.google.com ([209.85.214.171]:35623) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1ofnSv-000Ibl-0g; Tue, 04 Oct 2022 19:20:31 +0000 Received: by mail-pl1-f171.google.com with SMTP id h10so10767501plb.2 for ; Tue, 04 Oct 2022 12:20:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=SZe/JnUi7/fWatC/gyoS2AXlOR8LtDQu7PMsuNgceP8=; b=fIwoxHAkl+o7wzgeetVbjST4g2yE86br8Ok8QfYsnULmZNiovvzLtaOk3H/XsY6uUn Na2dnq1VxJBpqF6vkTPhVvZ7Fb72UCXJ1HcYgqq4YbBdTRftlfHVgsD+0Inw5mBmu1JR QCTX5JyfypkzmsrcmlZCGXv9JdvhYlOKfOwZWdMeAIxU7znsrxuxd+j7jirU+1gYu4f/ wgX5gyah6Ni60ckuPNog9SNYZmEYH9Ih0+8a8Ihlcwhv1wGP4I+zBY1RroYQxs4tQiqC ktPze7yhtpwOqxFKJS7kK7EYNfqh3Q7/8svsCRTGgEA9qtNUsYkftuDZG64OwxiMZLr/ J0kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=SZe/JnUi7/fWatC/gyoS2AXlOR8LtDQu7PMsuNgceP8=; b=wDZlGJYNn4ekZabCORzmcbixLItemrfyZJVbJbqxaITkx8m0x38zyJlLGY62bY+rNI oNwcqb7r5gJEHIHPQJXxdPSjQx8fG4nJ/ecKYwWNxdoQ8urjo3VjfEH/ebz4WfoTFnZG RilQ4ZU+PMr3Z+ZVLak6F2KgSh6/dgpKAzHVPOtxonVKvJOl9q4MV/YLEsm+1EwrEhHC /6cHJdliojRNYHbxXq8nypnje4jXb6uq1Jmckp7cOaarTDOR9gzvroeZwNia0lAtrcOI i2jCQ4v2hbH+hGVvEJAIbtgoFGHxrH7ON9kg4bgYsvbhqqb846Of5bFySZCqHJZ2pW6Q WSQQ== X-Gm-Message-State: ACrzQf0PmtB8cJERJZuQbG9mvEn6kFmaYcEZcicdzeoF4KX89Z84B0ab tXE+zc1C3Cyzbou/yrKqQTQofHUKiLVbgCp4Vgc= X-Google-Smtp-Source: AMsMyM6o24wT2XOIc0p0abBTlNdFWRNqG8v+T0F8ya+T/cOpDCpw2mlX0TZkbEo/NNVRmOY4gNGcxx7pK/FNz/Or4+Y= X-Received: by 2002:a17:90a:cd02:b0:205:efbd:6f60 with SMTP id d2-20020a17090acd0200b00205efbd6f60mr1178505pju.111.1664911227198; Tue, 04 Oct 2022 12:20:27 -0700 (PDT) MIME-Version: 1.0 References: <8516c65c-22ed-f4d8-54d3-c89959e84bbb@eastlink.ca> In-Reply-To: <8516c65c-22ed-f4d8-54d3-c89959e84bbb@eastlink.ca> From: Pier Paolo Grassi Date: Tue, 4 Oct 2022 21:20:16 +0200 Message-ID: Subject: Re: find help To: Ray Andrews Cc: Zsh Users Content-Type: multipart/alternative; boundary="00000000000047a16205ea3a5a8e" X-Seq: 28165 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --00000000000047a16205ea3a5a8e Content-Type: text/plain; charset="UTF-8" you should try typing read (or any other command) than pressing alt-h, by default bound to the run-help widget Il giorno mar 4 ott 2022 alle 20:53 Ray Andrews ha scritto: > I just figured out how to do this: > > $ zhelp() { man zshbuiltins | less -p "^ $1" } > > $ zhelp read > > read [ -rszpqAclneE ] [ -t [ num ] ] [ -k [ num ] ] [ -d delim ] > [ -u n ] [ name[?prompt] ] [ name ... ] > .... > > ... simple and effective, but I'll bet someone has something better. > > > -- Pier Paolo Grassi --00000000000047a16205ea3a5a8e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
you should try typing
read (or any= other command) than pressing alt-h, by default bound to the run-help widge= t

Il giorno mar 4 ott 2022 alle 20:53 Ray Andrews <rayandrews@eastlink.ca> ha scritto:
=20 =20 =20

I just figured out how t= o do this:

$ zhelp() { man zshbuilt= ins | less -p "^=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $1" }

$ zhelp read

=C2=A0 =C2=A0=C2=A0 read= [ -rszpqAclneE ] [ -t [ num ] ] [ -k [ num ] ] [ -d delim ]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = [ -u n ] [ name[?prompt] ] [ name ...=C2=A0 ]
=C2=A0=C2=A0=C2=A0=C2=A0 ....

... simple and effective, but I'll bet someone has something better.


--
Pier Paolo Grassi
--00000000000047a16205ea3a5a8e--