Skip to main content
"italian" english ?! :-D
Source Link
LL3
  • 5.6k
  • 9
  • 20

If you mean "Bash's equivalent of Python's docstrings" I'm afraid I have to deludedisappoint you that there is no such thing.

However.. I must say that implementing an equivalent of the "docstrings" feature would make for a very interesting homework in order to learn Bash's programmable-completion facility along with how to override a builtin command such as help to display either such "docstrings" or the normal builtin help's output.

If you mean "Bash's equivalent of Python's docstrings" I'm afraid I have to delude you that there is no such thing.

However.. I must say that implementing an equivalent of the "docstrings" feature would make for a very interesting homework in order to learn Bash's programmable-completion facility along with how to override a builtin command such as help to display either such "docstrings" or the normal builtin help's output.

If you mean "Bash's equivalent of Python's docstrings" I'm afraid I have to disappoint you that there is no such thing.

However.. I must say that implementing an equivalent of the "docstrings" feature would make for a very interesting homework in order to learn Bash's programmable-completion facility along with how to override a builtin command such as help to display either such "docstrings" or the normal builtin help's output.

Source Link
LL3
  • 5.6k
  • 9
  • 20

If you mean "Bash's equivalent of Python's docstrings" I'm afraid I have to delude you that there is no such thing.

However.. I must say that implementing an equivalent of the "docstrings" feature would make for a very interesting homework in order to learn Bash's programmable-completion facility along with how to override a builtin command such as help to display either such "docstrings" or the normal builtin help's output.