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

Re: bashism question



Lars Wirzenius wrote:

> ke, 2008-06-25 kello 09:18 +0100, Adam D. Barratt kirjoitti:
>> As "foo=bar" is an argument "more complex than simple variables" and
>> the
>> example explicitly shows the use of local to declare the variable
>> followed by assignment to it, my reading of policy is that "local
>> foo=bar" is not permitted.
> 
> I was afraid of that. It makes using local doubly painful.
> 
> (Oh well, I'll add "shell function needs local variables" to my list of
> indicators that I should really be writing in Python.)

By the way, take a look at #473019 :)

Cheers,
Raphael



Reply to: