Suppose I have the following stdout output from an expression
Min 1st_Qu Median Mean 3rd_Qu Max NAs
1.000 1.000 2.000 1.875 2.250 3.000 1
And the goal is:
{ "Min":1.0, "1st_Qu":1.0, ..., "NAs":1 }
Is there a trivial way to do this with bash? (also trying to limit dependencies, and would prefer to just cherry pick what I need using awk over adding any non-native linux dependencies).