On 08/02/2010 12:15 PM, Bernd Eggink wrote:
> Am 02.08.2010 19:15, schrieb Andreas Schwab:
>> Bernd Eggink<mono...@sudrala.de>  writes:
>>
>>>          eval "function $name
>>
>> Don't use function, use "$name ()" instead.
> 
> What's wrong with function??

'function name' is a bash extension while 'name()' is POSIX.  If you use
standard POSIX instead of bash extensions, then your approach will more
easily port to other POSIX shells.

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to