Tips and tricks: Difference between revisions

Jump to navigation Jump to search
m
small grammar fix
m (small grammar fix)
Line 1: Line 1:
=Tiny helper functions=
=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.
This is a list of tiny helper functions (the equivalent of e.g., shell aliases), the kind one would have on its ''.octaverc'' file.


== replace help with man ==
== 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'')
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)
  function man (name)
   help (char (name))
   help (char (name))

Navigation menu