Mastodon: @wally3k@infosec.exchange

Lurks on topics like security, privacy, repair & gaming. Sometimes comments, too.

  • 0 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle
  • WaLLy3K@infosec.pubtoLinux@lemmy.mlIs anyone using awk?
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    6 months ago

    awk is pretty damn solid. When I was completely rewriting the gravity.sh script from Pi-hole about six years back, it was easily the fastest for parsing and uniquely sorting content from files with a couple million lines. It made things much more usable on Raspberry Pi Zero hardware, since changing to another language like Python was out of the question.