Readme.md in pru-0.1.1 vs Readme.md in pru-0.1.2

- old
+ new

@@ -2,10 +2,16 @@ Install ======= sudo gem install pru +Working with rvm / many gemsets -> only install once + + rvm use 1.9.2 + gem install pru + echo 'alias pru="rvm 1.9.2 exec pru"' >> ~/.bash_profile + Usage ===== pru supports mapping and reducing.<br/><br/> Map works on each line as String<br/> Reduce works on all lines as Array<br/> @@ -44,9 +50,14 @@ ls -al | pru 'gsub(/5/,"five")' # every second line ls -al | pru 'i % 2 == 0' + # paste-friendly mime-types + curl https://github.com/mattetti/mimetype-fu/raw/master/lib/mime_types.yml | grep image | pru 'gsub(/(.*): (.*)/, %{"\\1" => "\\2",})' + + # quotes inside a string + something | pru 'include?(%{"string"})' Author ====== [Michael Grosser](http://grosser.it)<br/> michael@grosser.it<br/>