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


Groups > linux.debian.user > #236245

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

From Nate Bargmann <n0nb@n0nb.us>
Newsgroups linux.debian.user
Subject Re: A feasible method to add examples to man pages?
Date 2021-06-21 19:00 +0200
Message-ID <Csvrd-6Xe-23@gated-at.bofh.it> (permalink)
References <Csu25-6f6-1@gated-at.bofh.it>
Organization Amateur Radio!

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

* On 2021 21 Jun 10:30 -0500, Richard Owlett wrote:
> Many see the need for examples to be associated with man pages.

My name is among the authors of a few man pages found in the Debian
archive with regard to some software used primarily by radio amateurs.
Part of the issue is how many examples are enough and how many are too
much.  I landed at the point of providing enough for the curious to get
a sense of the options and how to provide them for programs.  Mostly
this was aimed at those more familiar with GUI programs not programs
that take command line options.

Manual pages that focus on library API calls have yet another challenge
for providing examples.  The Linux Man Pages Project seems to do a good
job in sections 2 (system calls) and 3 (C library calls) with concise
and useful examples and should probably serve as an example for other
authors to follow, IMO.

> Sometime back a post mentioned a web page that could return examples for
> most(all??) Linux commands. I failed to bookmark it and have not
> rediscovered it since.

That may have been me.  Here is an example:

	$ curl cheat.sh/curl

The cheat.sh site is not mine and I have no relation to it.
 
> In another forum I was pointed to https://cht.sh/ .
> Going to  https://cht.sh/XXX  will return a list of examples for XXX.

It is the same site only through the Web interface.

> Along the right side of each page of /manpages.debian.org/... there is a
> list of links to various topics.
> 
> Would it be proper/reasonable/practical/??? to add an entry of the form
> https://cht.sh/XXX ?

That question would be better posed to the Debian Web site team than
here.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

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