Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    Thanks @EdMorton, I added it to the answer. Commented Mar 9, 2022 at 14:12
  • Where can one find a version of mawk that supports gensub()? Commented Mar 9, 2022 at 15:26
  • @EdMorton, I believe Stéphane's question is for you. Commented Mar 9, 2022 at 15:32
  • @StéphaneChazelas I don't have any idea, I was just blindly reproducing Ed's comment, but I have yet to see him be wrong on anything related to awk. His original comment simply mentioned "modern versions of mawk". Commented Mar 9, 2022 at 15:33
  • @EdMorton, which mawk would that be? AFAICT, ThomasDickey's mawk-1.3.4-20200120 which is the most modern mawk I know of doesn't support gawk's gensub(). Commented Mar 9, 2022 at 15:38