help-bash
[Top][All Lists]
Advanced

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

function with description


From: lisa-asket
Subject: function with description
Date: Tue, 29 Jun 2021 00:59:35 +0200 (CEST)



From: Eli Schwartz <eschwartz@archlinux.org>
To: help-bash@gnu.org
Subject: Re: function with description
Date: 29/06/2021 00:36:48 Europe/Paris

On 6/28/21 6:29 PM, lisa-asket@perso.be wrote:
> Have written the following function and would like to be able to print a 
> description
> 
> similar to the docstring in elisp.


Not all programming languages have the concept of a docstring. bash
isn't alone here.

There's a doxygen plugin you can use via INPUT_FILTER or
FILTER_PATTERNS, which will extract documentation comments from your
bash scripts when generating html docs.

-- 
Eli Schwartz
Arch Linux Bug Wrangler and Trusted User

-----

That's really nice but I would like to call a description in the terminal, if I 
forget
how to use the bash function.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]