659
edits
Carandraug (talk | contribs) (→How to declare functions inside a test block: moved to tests) |
Carandraug (talk | contribs) (→Tiny helper functions: new section) |
||
Line 1: | Line 1: | ||
=Tiny helper functions= | |||
This is a list of tiny helper functions (the equivalent of e.g., shell aliases), the kind one wuld have on its ''.octaverc'' file. | |||
== replace help with man == | |||
If you use octave too much, you'll find yourself trying to use ''help'' instead of ''man'' on bash. This will allow you to use ''man'' in your octave instance (you can also create a ''help'' alias for bash but ''man'' has less characters than ''help'') | |||
function man (name) | |||
help (char (name)) | |||
endfunction | |||
=C++= | =C++= | ||