learn_ruby_oneliners/Version_changes.md at master · learnbyexample/learn_ruby_oneliners
2.0
- Command version updated to Ruby 3.3.0
- Added more exercises
- Long sections split into smaller ones
- In general, many of the examples, exercises, solutions, descriptions and external links were updated/corrected
- Updated Acknowledgements section
- Code snippets related to info/warning sections will now appear as a single block
- Book title changed to Ruby One-Liners Guide
- New cover image
1.6
- Corrected usage of substitution methods for fixed string replacement
- Updated
ruby version to 3.0.0
- Added example with
-l usage when input has \r\n line endings
- Miscellaneous changes like better description, fixed typos, etc
1.5
- added
pngquant and svgcleaner in Acknowledgements
- added example for
-s option
- updated/added examples/exercises for
tr, Flip-Flop operator, sort, ARGF, STDIN, etc
- added example to show effect of
exit within BEGIN and END blocks
- added substitution examples for fixed string data
- miscellaneous changes like better description, removing trailing whitespaces, fixed typos, etc
- added section for multiline fixed string substitution
- added section for adding entire contents of a file based on a condition
1.0