Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236274

Re: A feasible method to add examples to man pages?

From Curt <curty@free.fr>
Newsgroups linux.debian.user
Subject Re: A feasible method to add examples to man pages?
Date 2021-06-22 14:10 +0200
Message-ID <CsNo5-144-1@gated-at.bofh.it> (permalink)
References (3 earlier) <CsyIp-A5-3@gated-at.bofh.it> <CsB3A-1QV-1@gated-at.bofh.it> <CsD5n-3eR-1@gated-at.bofh.it> <CsJku-6XQ-3@gated-at.bofh.it> <CsMil-da-1@gated-at.bofh.it>
Organization Unorganized

Show all headers | View raw


On 2021-06-22, Richard Owlett <rowlett@cloud85.net> wrote:
> On 06/22/2021 02:21 AM, Curt wrote:
>> On 2021-06-22, Greg Wooledge <greg@wooledge.org> wrote:
>>> On Mon, Jun 21, 2021 at 11:50:22PM +0100, Brian wrote:
>>>> On Mon 21 Jun 2021 at 15:25:53 -0500, Richard Owlett wrote:
>>>>
>>>>> On 06/21/2021 02:36 PM, Curt wrote:
>>>>>>    curl https://cht.sh/:cht.sh > ~/bin/cht.sh
>                               ^
>                               |
>                               +-- I don't understand that use of :
>

It's the syntax for "special pages."

Regular usage:

 curl cheat.sh/TOPIC       show cheat sheet on the TOPIC

Special pages:

    :help               help page
    :list               list all cheat sheets
    :post               how to post new cheat sheet
    :cht.sh             shell client (cht.sh)

etc. 

So curl cheat.sh/:help

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-21 17:30 +0200
  Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-21 17:50 +0200
  Re: A feasible method to add examples to man pages? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-06-21 18:20 +0200
    Re: A feasible method to add examples to man pages? Curt <curty@free.fr> - 2021-06-21 22:00 +0200
      Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-21 22:30 +0200
        Re: A feasible method to add examples to man pages? Brian <ad44@cityscape.co.uk> - 2021-06-22 01:00 +0200
          Re: A feasible method to add examples to man pages? Greg Wooledge <greg@wooledge.org> - 2021-06-22 03:10 +0200
            Re: A feasible method to add examples to man pages? Curt <curty@free.fr> - 2021-06-22 09:50 +0200
              Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-22 13:00 +0200
                Re: A feasible method to add examples to man pages? Curt <curty@free.fr> - 2021-06-22 14:10 +0200
                Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-22 14:40 +0200
                Re: A feasible method to add examples to man pages? Curt <curty@free.fr> - 2021-06-22 15:20 +0200
                Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-22 15:50 +0200
                Re: A feasible method to add examples to man pages? Curt <curty@free.fr> - 2021-06-22 16:40 +0200
                Re: A feasible method to add examples to man pages? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-22 16:30 +0200
                Re: A feasible method to add examples to man pages? Brian <ad44@cityscape.co.uk> - 2021-06-22 18:20 +0200
              Re: A feasible method to add examples to man pages? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-06-22 18:20 +0200
                Re: A feasible method to add examples to man pages? rhkramer@gmail.com - 2021-06-23 13:20 +0200
              Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-23 21:40 +0200
  Re: A feasible method to add examples to man pages? Nate Bargmann <n0nb@n0nb.us> - 2021-06-21 19:00 +0200
    Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-21 20:30 +0200
  Re: A feasible method to add examples to man pages? Marco Möller <talby@debianlists.mobilxpress.net> - 2021-06-21 20:50 +0200

csiph-web