bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the difference between a newline and a semi-colon?


From: Greg Wooledge
Subject: Re: What is the difference between a newline and a semi-colon?
Date: Fri, 30 May 2014 11:42:25 -0400
User-agent: Mutt/1.4.2.3i

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]