The second line iterates over the indexes of these column arrays and creates the output as CSV. So each element either remains an array, or is converted into a single element array. If that does not work, the element is put into an array. This is done in the map() call where each element is extracted as an array. ) into arrays of one array per column: ,] ) from each individual sub-array ( abc025 and xyz025 respectively, in separate iterations) and then transforms the remaining data in each sub-array (. ![]() (.|keys) as $i | ] | first line here picks out $name as the first element (. Ask me anything (part 2)! SecurityĪsk me Anything is a series where we interview experts with uniqueĮxpertise, opinions, and stories.Use the jq expression.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |