4 ms·
I see your "decorated" sql table, and I raise you my text file with five columns, that you can grep and sed and awk as if there was no tomorrow. cat histo
by enriquto 7y ago
I see your "decorated" sql table, and I raise you my text file with five columns, that you can grep and sed and awk as if there was no tomorrow.
cat history.txt | awk '$4 != 0'
- zepolen 7y ago"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.