Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: mung on April 20, 2022, 02:26:18 PM

Title: awk seems broken?
Post by: mung on April 20, 2022, 02:26:18 PM
Not sure what is cause but I checked the script with gamk and mawk and bwk and it seems to run okay on those.
But the latest picore awk fails not giving the correct RLENGTH and RSTART from a match?

I have attached script and input data.

Anyone have any advice or suggestions?
Title: Re: awk seems broken?
Post by: bmarkus on April 21, 2022, 01:30:26 AM
By default piCore comes with BusyBox awk. It is most likely not fully compatible to its big brother, checck BusyBox site.

You can install gawk from the repo.