Hacker GitHub

← All repos

thisredone/rb

View on GitHub ↗ ★ 1,490 Ruby

Turns Ruby into a versatile command line utility

9 mentions on Hacker News by 5 people: 1 story, 8 comments · first 2018-08-14 · latest 2022-04-26

Mentions per year 9 mentions · busiest year 2019 (4)
20082026
  1. …--filter '({location}) => location === "Stockholm"'` because I'm much more used to Node syntax. - https://github.com/thisredone/rb is a widely used ruby version of this idea - https://github.com/KelWill/nq#readme is something similar that…
  2. Here's the ruby equivalent: https://github.com/thisredone/rb
  3. These would be really easy if I could use my little tool [1] [1] https://github.com/thisredone/rb
    comment by redka · 2019-10-14 · in The Unix Game
  4. Totally agree. On a related note, I came across a similar thing just the other day for rubyists: https://github.com/thisredone/rb Probably not as fast as many of the individual unix tools it could replace, but does look like a great way to…
  5. …came up with rb [1] which made it possible and I no longer read man pages of simple unix tools [1] https://github.com/thisredone/rb
  6. ls | rb 'group_by { |x| x[/\d+/] }.select { |_, y| y.one? }.keys' https://github.com/thisredone/rb
    comment by redka · 2019-02-14 · in Problem solving with Unix commands
  7. …by a contributor][1]. I've [submitted a PR][2] to inline the install script in the README. [1]: https://github.com/thisredone/rb/pull/5 [2]: https://github.com/thisredone/rb/pull/8
  8. …to speed things up by creating a Proc first and feeding it to the eval instead of the string. [1] https://github.com/thisredone/rb/pull/2
  9. ▲ 232
    Show HN: Rb – Turns Ruby into a command line utility
    story by redka · 2018-08-14 · 73 comments