-
Hello,
I'd like to split it into multiple files, where the destination file would depend on the value of
I've tried
Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
mikefarah
Nov 10, 2024
Replies: 1 comment
-
Sure:
Explanation:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ESipalis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sure:
Explanation:
group_by
to group by the entry value group(.[] |= from_entries)
.[]
-s
flag to write a file of each of the splatted components. Use.. | .group
as the filename