On Fri, May 30, 2014 at 09:13:01AM -0600, Eric Blake wrote: > (I've seen ONE case where an alias can do things that a function cannot: > writing an alias for 'find' that temporarily inhibits globbing on the > arguments for JUST the find command - that has to be done via an alias, > because it depends on affecting the parse, and a function call is too > late. But in every other case, I have been able to rewrite an alias > into a function with no difficulties)
Ah yes, Simon Tatham's "magic aliases".[1] Probably the most astonishing shell hack ever invented. [1] http://www.chiark.greenend.org.uk/~sgtatham/aliases.html