this post was submitted on 01 Dec 2023
15 points (100.0% liked)
NotAwfulTech
6 readers
1 users here now
a community for posting cool tech news you don’t want to sneer at
non-awfulness of tech is not required or else we wouldn’t have any posts
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Have been mostly using jq for fun.
Day 1
Part 1
First part was easy, and very suited to jq
Part 2
Second part was harder than expected, i had to resort to regex.
Day 2
Part 1
Not too much trickery in this example.
Part 2
Satisifyingly straightfoward edit form part one.
Day 3
Part 1
Took More time than i expected, glad i had the idea early to search by the indices of the symbols and not the digits. Not super well suited to jq, unless I'm missing a better solution.
Part 2
Not too far of an edit from part one.