Project
gr8
gr8 is a great command-line utility powered by Ruby.
Example:
$ cat data
Haruhi 100
Mikuru 80
Yuki 120
$ cat data | gr8s 'map{|s|s.split()[1]}'
100
80
120
$ cat data | gr8s 'map{|s|s.split()[1]}.map(&:to_i).sum'
300
$ cat data | gr8s 'map{split[1]}.sum_i'
300
$ cat data | gr8s -F 'map{self[1]}.sum_i'
300
$ cat data | gr8s -C2 'sum_i'
300
See http://kwatch.github.io/gr8/ for detail.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development
Licenses
MIT Lisense
Dependencies
Development
~> 0