Yeah I agree. In Oil I'm hoping to have the best of both worlds. That is, no silly quoting and parsing of strings, but also being able to use plain tools like "grep", and probably SQL.
"As if there was no tomorrow" - exactly, because once you add another column suddenly $4 points to something completely different and you have to rewrite everything.
Not to mention $4 is completely arbitrary and it's impossible to tell without prior knowledge which field it's referencing.
The original query `SELECT pwd, cmd WHERE exit-code != 0` is both descriptive and won't break with future updates.
Consider a table with five columns:
* uid
* pwd
* cmd
* exit-code
* datetime
Now you can `SELECT pwd,cmd WHERE exit-code != 0` to see all failed-commands.