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
20082026
-
…--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…
comment by gcmeplz · 2022-04-26 · in Zq: An easier and faster alternative to jq -
Here's the ruby equivalent: https://github.com/thisredone/rb
comment by tehalex · 2020-05-09 · in Show HN: Pyp – Easily, magically, run Python at the shell -
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 -
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…
comment by usefulcat · 2019-03-03 · in What you need may be “pipeline +Unix commands” only -
…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
comment by redka · 2019-02-28 · in The hard part in becoming a command line wizard -
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 -
…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
comment by Ajedi32 · 2018-08-14 · in Show HN: Rb – Turns Ruby into a command line utility -
…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
comment by redka · 2018-08-14 · in Show HN: Rb – Turns Ruby into a command line utility