6 Nov
2011
6 Nov
'11
5:39 p.m.
On Mon, Nov 7, 2011 at 11:27 AM, Dave Reisner
ds a 'parse_envfile' function that reads files such as /etc/locale.conf and /etc/vconsole.conf without sourcing them as bash logic. Several benefits are realized from this:
- Impossible to execute arbitrary code - Bad syntax won't prevent the entire file from being read - Possible to limit what variables are allowed
Awesome! -t