Skip to content

jugyo/each

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

each

A simple command to process each line of ARGF.

By the way, do you know the '-n' option of ruby?

Install

$ gem install each

Example

$ cat foo.txt
a b c
d e f
$ cat foo.txt | each '_.split[1].upcase'
B
E

Copyright

Copyright (c) 2012 jugyo, released under the MIT license

About

A simple command to process each line of ARGF.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages