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

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



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
> > >   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

Just for the record, there should be a mkdir -p ~/bin in there as
well.  And one might need to log out and back in to get ~/bin into
one's PATH, depending on how one's dot files are set up.  (Manual
modification of PATH is also acceptable.)


Reply to: