[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Mon 21 Jun 2021 at 15:25:53 -0500, Richard Owlett wrote:

> On 06/21/2021 02:36 PM, Curt wrote:
> > On 2021-06-21, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> > > > Many see the need for examples to be associated with man pages.
> > > [...]
> > > > Would it be proper/reasonable/practical/??? to add an entry of the form
> > > > https://cht.sh/XXX ?
> > > 
> > > I think it can make sense for manpages to include a link to some further
> > > doc in the form of a wiki or some other webpage, but I often enough find
> > > myself using `man` while trying to fix a system's network or X11/Wayland
> > > config, which makes it either impossible to access the Internet at that
> > > moment, or painful to browse a webpage.
> > 
> >   curl https://cht.sh/:cht.sh > ~/bin/cht.sh
> >   chmod +x ~/bin/cht.sh
> >   cht.sh --standalone-install
> > 
> 
> I don't understand what those 3 lines are attempting to do.
> What should I be reading?

curl(1)
bash(1) (Redirection)
chmod(1)
less ~/bin/cht.sh

-- 
Brian.


Reply to: