lua-users home
lua-l archive

Re: nested entries in a configuration file

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


How about this?
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.

AltStyle によって変換されたページ (->オリジナル) /