/srv/irclogs.ubuntu.com/2015/07/31/#lubuntu-devel.txt

jarnosWhy lubuntu has mawk as awk, by default? Mawk is old version and buggy: https://bugs.launchpad.net/ubuntu/+source/mawk Why not use gawk?10:21
phillwjarnos: it is not lubuntu's choice. mawk is installed as part of core, so is across all *buntu flavours.10:52
jarnosphillw, but you could add gawk package and make it default awk, right?10:53
phillwno, the flavours have no control over the 'core'. That needs to be taken up with the team that handles that part directly. as a start point, try #ubuntu+1 channel and they should be able to direct you to where / who to ask about the reasoning behind that decision.10:54
phillwjarnos: on the meantime http://askubuntu.com/questions/561621/choosing-awk-version-on-ubuntu-14-04 should be of some assistance to you.10:58
jarnosphillw, other flavours such as Xubuntu have gawk installed as well by default. I think they use gawk by default as it has higher priority.11:04
phillwsudo update-alternatives --config awk11:05
phillwshows gawk as my default11:05
phillwI'm running 15.0411:05
phillwso, it appears to have changed since the LTS came out. It is doubtful that a change from mawk to gawk would be accepted as an SRU as it poses an issue of breaking anybody's scripts they have written around mawk. As evidenced by the OP in that post I flagged up.11:08
phillwI'm surmising that they keep mawk available precisely for that reason.11:10
jarnosphillw, and still they don't update mawk.11:11
phillwjarnos: what version of lubuntu are you using?11:12
jarnosphillw, they all use an old version http://packages.ubuntu.com/search?keywords=mawk&searchon=names&suite=all&section=all11:15
jarnosphillw, according to http://distrowatch.com/table.php?distribution=lubuntu&pkglist=true&version=15.04#pkglist lubuntu 15.04 does not have gawk installed by default, so I suppose you have installed it afterwards.11:17
phillwnot me.. i do not use awk :D11:17
phillwit may be part of the -dev suite, which I do have11:17
jarnosphillw, but maybe as a dependency for another package you have installed.11:17
phillwjarnos: indeed, I have just powered up a VM with 15.10 on and mawk is the only option.11:20
phillwmy system has that many additions to it, I keep VM's for testing :D11:21
jarnosphillw,  "apt-cache rdepends -i --installed --recurse gawk |less" could show which package caused gawk to be installed.11:22
phillwmy VM system.. libguest :D11:23
phillwwhich happens to be about the 2nd thing I install on a new machine :)11:23
phillwbut, you say xubuntu 15.04 uses gawk and not mawk?11:24
jarnosphillw, I am not 100% sure, but it has both gawk and mawk installed by default: http://distrowatch.com/table.php?distribution=xubuntu&pkglist=true&version=15.04#pkglist11:26
phillwjarnos: let me grab the iso and install it onto a VM.. it will take a short while, so don't think i have forgotten about you!11:28
jarnosphillw, ok11:29
phillwgawk is in the manifest.. so saves that step :)11:29
phillwand is not in the lubuntu mainfest.11:30
phillwmanifest11:30
phillwjarnos: I can ask Julien to look into it, but as we are currently over sized on the desktop ISO I doubt he will be wanting to add anything to the manifest, when faced with trimming it.11:34
phillwAll the other flavours have gone to DVD sized ISO's, lubuntu is the sole flavour that still has CD sized (and also the sole flavour that has alternate for the lower powered legacy machines that cannot run ubiquity).11:38
jarnosphillw, oh, not all older PCs can be booted using USB drive :(11:43
phillwwhich is why we face difficult decisions with what to leave out.. the recent cull of language packs and fonts has caused issues... :(11:45
jarnosphillw, file size of mawk_1.3.3-17ubuntu2_amd64.deb is 78870 whereas file size of gawk_4.0.1+dfsg-2.1ubuntu2_amd64.deb is 781466, about 10 times as big :o11:46
phillwpossibly why it is not on lubuntu. I'd hazard a guess that Julien culled it in a previous session of putting the ISO on to a 'diet'.11:49
jarnosIn the description mawk advertises "Mawk is smaller and much faster than gawk." but check this out: https://code.google.com/p/original-mawk/issues/detail?id=3411:49
phillwgawk is 653944 whilst mawk is 117768 on my 15.04 system11:50
jarnosphillw, ok, I just told size reported by apt-cache show11:53
phillwwb jarnos :)11:57
jarnosphillw, thanks. It was not good idea to run the test script in the link I posted with current mawk. I couldn't stop it by Ctrl-C.11:58
phillwhe he... you got to love VMs :D12:00
phillwif the answer to the question "could something go wrong?" is yes... sandbox it :D A pre-installed VM takes a minute to start up :)12:01
phillwhe he, no wonder xubuntu can have gawk in it... ISO is over 1GB in size!12:04
jarnosphillw, the first mawk command never finished. If you replace mawk by gawk in it, it is pretty fast. So quite the opposite that mawk description claims.12:04
phillwwell, make that ~ 1GB :)12:04
phillwit is doubtful that Julien will add 1/2 a Mb onto the ISO just for gawk when faced with taking more things off it.12:05
jarnosphillw, but I think it is important that the base system is reliable.12:06
phillwSo, it will go down as a "won't fix" I'm afraid.12:06
phillwjarnos: it is important that it supports the Japanese language - but the fonts have been removed. They have far more chance of being added back in. People who use awk will be expected to have enough technical knowledge to fathom out installing gawk if they need it.12:08
jarnosphillw, I hope they finally update mawk at least.12:08
phillwJulien is stuck between a rock and a hard place as to what is stripped out to maintain CD sized ISO12:08
phillwcan you look up what version of mawk is in debian repo?12:10
phillwif it is a newer version, then I can ask Julien to request it be added to the ubuntu repo so it is picked up in the build.12:10
phillwbbs .. lunch time12:11
jarnoshttps://bugs.launchpad.net/ubuntu/+source/mawk/+bug/133211412:12
ubot93Launchpad bug 1332114 in mawk (Ubuntu) "Please update mawk to latest upstream release" [Wishlist,Triaged]12:12
jarnosphillw, it is still 1.3.3-17 in Debian:  https://packages.debian.org/search?keywords=mawk12:21
phillwin that case, it needs a sponsor in debian to pull in the newer version. Once it is in debian, it will trickle down into ubuntu (or can be manually asked for to speed things up). But, it has to be in debian repo first.12:25
phillwAnd, with that, I'm not running away but I have some other stuff to do as it is end of month for parent's company. I auto-join here, so please feel free to ping me with progress / questions.12:26

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!