Page MenuHomeFreeBSD

one-true-awk: import 20230913 (c8b4698d5) which brings the second edition of the AWK Programming Language.
AbandonedPublic

Authored by delphij on Sep 18 2023, 3:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 3, 7:43 AM
Unknown Object (File)
Sat, Dec 14, 8:07 AM
Unknown Object (File)
Nov 13 2024, 7:14 AM
Unknown Object (File)
Nov 6 2024, 6:58 AM
Unknown Object (File)
Oct 23 2024, 10:40 PM
Unknown Object (File)
Oct 23 2024, 10:40 PM
Unknown Object (File)
Oct 23 2024, 10:39 PM
Unknown Object (File)
Oct 23 2024, 10:27 PM
Subscribers

Details

Summary

This release of AWK includes a number of bug fixes and improvements,
including:

  • Unicode support: AWK now supports Unicode input and output. This includes support for UTF-8 encoding, as well as the ability to process regular expressions and character classes over Unicode data.
  • Improved CSV handling: AWK now provides better support for CSV data. This includes the ability to parse CSV files with embedded newlines, and the ability to generate CSV output with the --csv option.
  • Fixed memory leaks: AWK has been fixed to eliminate a number of memory leaks. This includes leaks in the file management system, the regular expression engine, and various built-in functions.
  • Improved error handling: AWK's error handling has been improved to provide more informative error messages and to prevent crashes in some cases.

WIP: MFV: one-true-awk 2nd edition.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 53627
Build 50518: arc lint + arc unit

Event Timeline

delphij created this revision.

(This is mostly a verbatim copy of upstream and I only uploaded it for completeness, thus self-approving).

This revision is now accepted and ready to land.Sep 18 2023, 4:06 AM
This revision now requires review to proceed.Sep 18 2023, 4:07 AM

Restore gensub() and some additional OpenBSD changes (except srandom and friends for now)

This revision is now accepted and ready to land.Sep 22 2023, 7:05 AM

did you pull in the bsd-specific branch? Last time I imported, they were the same so we didn't need to 'preserve' anything in our tree.

Restore gensub() and some additional OpenBSD changes (except srandom and friends for now)

This shouldn't have been necessary. ota upstream keeps a bsd branch that has the additions that we have in it.
If that's changed, I really want to look more closely at this import and separate out the additions from just the
upstream merge.

The proper branch to track upstream is 'bsd-features'. It gets merged with mainline each release, most recently Oct 30. I'll prep a review for that.

Warner is working on the import.