4 ms·
We're talking Unix config options and command line parameters. Having a quote in the middle of such a thing is, for me, unheard of. Having a quite around them
by nailer 18y ago
We're talking Unix config options and command line parameters. Having a quote in the middle of such a thing is, for me, unheard of.
Having a quite around them is common, and shown inside the second example for this reason.
I think O'Reilly should provide a solution that works for their audience (primarily system administrators, judging from the books other contents) if they have a chapter on the topic. Preferably in Bash, as that's what the book is focused on.
Mentioning specific parsing tools built into Python would also also be of use (other chapters in the same book do pull out other languages if deemed necessary).
This chapter stands out as it exists in the TOC and has no code at all, when a very simple solution will handle common admin tasks easily.