For simple commands like
less, is it better to make an alias or to export the options? Is there any benefit of one over the other?
For example, if I want
less to always use the
-R option to show raw characters, both of these solutions work:
alias less='less -R'
For a simple case like this, is there any benefit of one over the other? Any scenarios where one will cause problems and the other won't?
I've read through several
man pages, as well as Googling it, but I'm still stuck on this.