lua-users home
lua-l archive

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


On Thursday, February 24, 2011 11:11 AM Enrico Colombini wrote

> Are you putting the comma at the beginning of the line to
> avoid a final comma?

No, I that's just habit.

On Thursday, February 24, 2011 11:18 AM Luiz Henrique de Figueiredo wrote

> id	"batch@raw"
>	account	"dev"
>		host		'rawdev' 
>		name		'batch01'
>		instance	'raw'
>	account	"test"
> ...
> id	" batch@staging"
> ...
>
> Here everything is a function that sets fields in the appropriate
> tables.
>
> This format is similar to the one used in the ssh config files,
> except of course that Lua needs quotes around values.

That would work perfectly!

Thanks everyone for the suggestions.

Mike