D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Parsing INI files

 

Webconverger uses INI style configs.

See https://github.com/Webconverger/webc/blob/master/etc/webc/webc.conf
cmdline_get()
cmdline_has()

to encode args with spaces i use encodeURI, see
http://webconverger.org/touch_screen_calibration/ for an example.

This nicely works across /proc/cmdline etc

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq