5 ms·
it's a bit weird, but it's perfect for writing quick shell one liners with once you get used to it. no regular scripting language can match it for that
by Rotten194 8y ago
it's a bit weird, but it's perfect for writing quick shell one liners with once you get used to it. no regular scripting language can match it for that
- saagarjha 8y agoawk, sed?
- pathseeker 8y agoFor extracting a value out of json where the keys can arbitrarily re-order and you have nested maps containing the same key names? No thanks.
- saagarjha 8y agoI was providing them as examples of things "perfect for writing quick shell one liners", not good JSON parsers.
- gerbilly 8y agoThe braces make that more difficult, awx and sed can work with YAML more easily, but awk works best on column oriented data, and YAML and JSON are more row oriented.