Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2016 (3)
20082026
  1. 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'
  2. ▲ 8
    Show HN: Xo, a sed-like command line utility that composes regex matches
    story by ezekg · 2016-05-06 · 7 comments
  3. ▲ 1
    Xo: cli tool to format multi-line input using regex
    story by kiyanwang · 2016-03-11 · 0 comments
  4. ▲ 2
    Show HN: xo – utility that takes input from stdin and formats the regexp matches
    story by ezekg · 2016-01-14 · 1 comment