Skip to content

Version 1.24.0: --csv and bug fixes

Compare
Choose a tag to compare
@benhoyt benhoyt released this 14 Jul 20:35
· 27 commits to master since this release

This release contains several minor fixes and the addition of --csv (it's an alias for -i csv). This is for compatibility with onetrueawk and Gawk, which are both adding that option soon.

It also contains a minor backwards-incompatible change: in CSV input mode (-i csv), the behaviour of the two-argument form of split() now parses using CSV splitting, rather than FS. This is also in line with the upcoming --csv feature of onetrueawk and Gawk. This is very unlikely to affect anyone, as CSV mode is relatively recent, and it seems unlikely that anyone is using the two-argument form of split() in CSV mode in any case.

Full list of changes:

  • Allow { blocks } with just semicolons in them in #192 -- thanks @raygard for the bug report
  • Ensure exit without status code doesn't set exit code in #193 -- thanks @raygard for the bug report
  • Make two-argument split() respect CSV input mode in #198
  • Add --csv option, in line with upcoming AWK and Gawk feature in #199
  • Update CSV doc to mention --csv in #200
  • Wait for command to finish when a pipe is closed in #201 -- thanks @xonixx for the bug report