awk: `towc: multibyte conversion failure`

Hi,

so, I really like https://github.com/akinomyoga/ble.sh for my brew-installed bash.

But with the system-default awk (version 20200816) I get the error message

towc: multibyte conversion failure on: '��'

Only if I use GNU awk from brew, it works.

akinomyoga, the developer of ble.sh really wants to support the system default awk, but it seems it isn't part of the open-source program any more. https://opensource.apple.com/source/awk/ only goes up to version 27.40.1, where the version on macOS 12.3.1 reports 32.

Does anybody know more about the switch of awk and what features it has?

The GitHub issue is https://github.com/akinomyoga/ble.sh/issues/190.

BR
Silvio

Replies

the system default awk … isn't part of the open-source program any more

Try this:

  1. Go to the main Open Source page.

  2. Scroll to the bottom.

  3. Click “View releases”.

  4. Disclose the macOS Monterey 12 > macOS 12.3 group.

  5. Look in the list. The awk-32 project is there, with the GitHub link leading here.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"