3 ms·
And your code correctly parses all the options that can be in that file?
by guappa 3y ago
And your code correctly parses all the options that can be in that file?
- habibur 3y agoYou don't need all the options. Search google. Parsing resolve.conf is an old technique and the file was written assuming individual apps will be parsing it. You will find instructions on how to do it in say 4 lines. Explicitly for this file. Not any random conf file from the system.
- guappa 3y agoThen your application won't be portable. Which is fine if you have no plans of distributing it. But otherwise I can guarantee it will break on some machine.