[Top][All Lists]

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

Re: [PATCH] Function parameters support

From: BVK Chaitanya
Subject: Re: [PATCH] Function parameters support
Date: Fri, 7 May 2010 11:44:33 +0530

On Wed, May 5, 2010 at 11:06 PM, Seth Goldberg <address@hidden> wrote:
>  This is a *great* start, but can you please add support for $* as well as a
> shift operator (though shift is not as useful when there are no looping
> constructs)

shift command is now available in people/bvk/shift-cmd branch.
Support for $* will be added very soon.

>   Also: Do you think there's value in supporting $0, where that expands to
> the function name?

Yes, but IMO it should be expanded to script name in configfile cases
or to simply "grub" in command line.  This is how BASH seems to behave
(i.e, $0 doesn't expand to function name).  I will add this as a
separate patch because configfile command probably needs to be updated
as well.


reply via email to

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