Content-Length: 292489 | pFad | https://github.com/dorianmariecom/dorian-csv-map

CD GitHub - dorianmariecom/dorian-csv-map
Skip to content

dorianmariecom/dorian-csv-map

Repository files navigation

dorian-each

Evaluates some code on each line of the input

e.g. ls -l | each "puts l.split.first"

Install

gem install dorian-each

Or as part of my other gems:

gem install dorian

Usage

From my history:

pbpaste | each "puts line.split('-')[1].split.first" | uniq
git grep Thing test/ | grep isocode | each "puts l.split(':').first" | sort | uniq | xvim
cat file.csv | each "code, name = l.split(\"\\t\"); if code.include?(','); puts code; else; puts code.gsub(' ', '') + ',' + name; end"
git grep thing | grep " doc " | each "puts l.split(':').first" | xvim

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/dorianmariecom/dorian-csv-map

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy