ezekg/xo
View on GitHub ↗ ★ 185 Go
Command line utility that composes regular expression matches.
4 mentions on Hacker News by 2 people: 3 stories, 1 comment · first 2016-01-14 · latest 2017-10-27
20082026
-
I built a command line tool awhile back for doing things like this: https://github.com/ezekg/xo You could do something like, echo 'Joanna likes apples' | xo '/^(\w+) (?:likes|prefers) (\w+)/{"user":"$1","fruit":"$2"}/i'
comment by ezekg · 2017-10-27 · in Show HN: I got tired of parsing texts, hope you find Komlog useful -
▲ 8
Show HN: Xo, a sed-like command line utility that composes regex matchesstory by ezekg · 2016-05-06 · 7 comments
-
▲ 1
Xo: cli tool to format multi-line input using regexstory by kiyanwang · 2016-03-11 · 0 comments
-
▲ 2
Show HN: xo – utility that takes input from stdin and formats the regexp matchesstory by ezekg · 2016-01-14 · 1 comment