Skip to content

Latest commit

 

History

History
73 lines (53 loc) · 2.7 KB

Version_changes.md

File metadata and controls

73 lines (53 loc) · 2.7 KB

2.0

  • Command version updated to GNU awk 5.2.2
  • Many more exercises added, and you can practice some of them using this interactive TUI app
  • 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 CLI text processing with GNU awk
  • New cover image
  • Images centered for EPUB format

1.4

  • Added example for NF value when input line doesn't contain the input field separator or if it is empty.
  • Added example which uses both nextfile and ENDFILE.
  • Added example for working with floating-point numbers according to locale formatting.
  • Clarified use of \0 with gensub function.
  • Updated error message for file not found.
  • Added further reading links for regexp metacharacter escaping and NR==FNR alternatives.

1.3

  • Added note regarding use of NR==FNR if the first file is empty
  • Added note for split function when the field separator is the same as default FS
  • Simplified one of the examples for paragraph mode
    • Updated exercise solutions as well for this usecase
  • Updated timing data for speed comparison examples, added mawk results as well
  • Corrected various typos, improved descriptions, comments, external links, etc

1.2

  • Added link to exercise solutions
  • Corrected typo in a solution
  • Two of the buffer examples simplified
  • Corrected line anchor explanations to be referred as string anchor instead

1.1


1.0

  • Added exercises
  • GNU awk version updated to 5.1.0
  • Role of IGNORECASE for FS, FPAT and RS
  • Alternation priority for same length matches
  • Using escape sequences for regular expression metacharacters
  • Corrected multiline code snippets and added chapter sub-headings for clarity
  • Added gotcha for using code in replacement section of substitution functions
  • Corrected various typos, improved descriptions/comments/examples/etc
  • Added epub version of the book
  • For more detailed view of changes, see the commit changes for the markdown source file

0.7

  • First version