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

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



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

That's what I get for blindly copying and pasting the "directions" from
Github. I should've have just told Monnier that the whole shebang
can be installed locally, which renders inoperative his nitpick about
not having the Net when he needs to cheat the most (or most often). 


Reply to: