On 08/15/2011 04:40 PM, Sam Steingold wrote:
* Andreas Schwab<fpu...@yvahk-z68x.bet>  [2011-08-15 22:04:04 +0200]:

Sam Steingold<s...@gnu.org>  writes:

Cool.  Now, what does this imply?

    "For almost every purpose, shell functions are preferred over aliases."

so, how do I write

alias a=b

as a function?
(remember that arguments may contain spaces&c)

a() { b "$@"; }

--
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to