3 ms·
author here: This chapter is an attempt to convert Perl one-liners to Ruby equivalent.. haven't used Ruby before, so it was nice intro to the language as well
by asicsp 9y ago
author here:
This chapter is an attempt to convert Perl one-liners to Ruby equivalent..
haven't used Ruby before, so it was nice intro to the language as well for me... overall impression was that Ruby combined some of the best features of Perl and Python (which I use primarily for scripting/text-processing purposes..) like cli usage, string/array methods, set processing, block form, etc
to read this as e-book: https://www.gitbook.com/book/learnbyexample/command-line-text-processing/details https://www.gitbook.com/book/learnbyexample/command-line-tex...