- 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
- 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
- added
pngquant
andsvgcleaner
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
withinBEGIN
andEND
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
- First version