This is the old SliTaz forum - Please use the main forum.slitaz.org

I think awk needs some attention
  • I have an awk script which processes about 32k lines of text and produces 16K lines of text as out put

    Windows with uwin = 5'30"
    Slitaz 3.0 = 1'50" (after boot) to 3'20" (after an hour or two of work)
    ubuntu/colinux on windows: 12" (12 seconds)
    Crunchbang (native) 7.6 s

    You read correctly. slitaz awk is 20 times SLOWER than native crunchbang or colinux ubuntu.
    (this is a single core pentium)

    By the way i found another awk problem that I believe is a bug (crunchbang shows the same strange behavior)

    string="abc(def" #--- works as expected
    string[1]= "abc(def" #--- does not work and generates and error at runtime
    string[1]= "abc\(def" #--- does work and behalves like there would be no antislash like string="abc(def"

    Sometime, life is making me very miserable....

    This being said, i am back to windows and ubuntu colinux until this job is completed or awk is fixed.
    I love slitaz, and I hate Gnome, but I hate even more to wait.... :(


  • jozeejozee May 2010
    I think this must be posted on busybox forum. You can always install "gawk" that's what ubuntu/crunchbang must be using.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social