gr8 0.1.1
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.
Gemfile:
=
安裝:
=
Development 相依性套件 (1):
oktest
~> 0