Skip to content

Releases: linux-china/zawk

0.5.7

09 May 15:50
Compare
Choose a tag to compare
  • Add bf_icontains() function to make duplicate check easy
  • add rgb2hex() and hex2rgb() functions
  • Add base85 for encode() and decode() functions

0.5.6

02 May 13:24
Compare
Choose a tag to compare
  • Load awk script from http url
  • Add duration function: duration("2min + 12sec") to seconds
  • Compatible testing with Nushell

0.5.5

27 Apr 08:34
Compare
Choose a tag to compare
  • Add last_part() function: last_part("o.apache.catalina.core.StandardService")
  • Add parse() function: parse("Hello World","{greet} {name}")["greet"]
  • Add rparse() function: rparse("Hello World","(\\w+) (\\w+)")[1]

0.5.4

11 Apr 14:48
Compare
Choose a tag to compare
  • Bloom filter support: bf_insert(item), bf_insert(item, group), bf_contains(item), bf_contains(item, group)
  • record() function with table support: `reccord("table_name(id int, name varchar)")

0.5.3

04 Apr 11:16
Compare
Choose a tag to compare
  • Add zlib2base64url for encode() function
  • Add remove_if_begin() and remove_if_end() functions

0.5.2

18 Mar 15:41
Compare
Choose a tag to compare

zawk stdlib cheat sheet: https://cheatography.com/linux-china/cheat-sheets/zawk/

Changes:

  • Add encrypt and decrypt functions
  • Add base58 and base62
  • Add func function to parse f(x,y)
  • Add Prometheus to CSV: zawk dump --prometheus http://localhost:8080/actuator/prometheus
  • utf-8 support for substr, length and char_at
  • Add PROCINFO global variable

0.5.0

11 Mar 16:31
Compare
Choose a tag to compare

Initial version released and based on frawk.

  • Upgrade to Rust 2021
  • Update to cranelift 0.105, llvm 15.0
  • Clap.rs 4.5
  • stdlib bundled: text, math, datetime, crypto, parser, encode/decode, ID, KV, SQLite/MySQL, Redis/NATS etc.
  • gawk compatible: global variables(ENVIRON) and functions(datetime, mkbool etc)
  • Dependencies updated to latest