Y
Hacker News
new
|
ask
|
show
|
jobs
by
saagarjha
2752 days ago
awk, sed?
2 comments
gerbilly
2751 days ago
The 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.
link
pathseeker
2752 days ago
For 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.
link
saagarjha
2752 days ago
I was providing them as examples of things "perfect for writing quick shell one liners", not good JSON parsers.
link