"A. Wilcox" <awilfox_at_adelielinux.org> wrote:
|On 02/12/18 03:19, Przemysław Pawełczyk wrote:
|> Hi, Alpiners!
|> What would you say about introducing new meta packages:
|> - mawk
|> It's "an interpreter for the AWK Programming Language".
|> It will possibly allow to make some packages depend on it instead of
|> I believe A. Wilcox can share details why it's better than busybox's
|> awk, after dealing with it in Adelie Linux.
|mawk has wider compatibility for some awk constructs than BusyBox awk.
|I am unfortunately not sure exactly which constructs BB doesn't have as
|I've never looked at the source, and my notes about that are long gone.
|I can say that Adélie doesn't even *ship* gawk. We replaced all
|references to gawk with mawk locally with no ill effects. Note we don't
|ship the entire main and community repos so I am not advocating gawk's
|removal in Alpine. I am however advocating replacing it with mawk
|wherever it makes sense.
mawk does not support IGNORECASE=, whereas busybox awk (and gawk)
does. Last month i tried to implement IGNORECASE= for mawk, but
whereas the normal regex case was somewhat easy, the homebrew
regex is too hard and i decided not to look deeper or even offer
Dickey an incomplete patch.
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
Received on Mon Feb 12 2018 - 19:02:08 UTC