|
|
|
FILE SPACING:
# double space a file
$ ruby -pe 'puts' < file.txt
# triple space a file
$ ruby -pe '2.times {puts}' < file.txt
.................................
http://cheat.errtheblog.com/s/ruby1line/
saved under Quick Reference Cards/Ruby
by
freebooksandarticles
|
|