Releases: linux-china/zawk
Releases · linux-china/zawk
0.5.7
0.5.6
- Load awk script from http url
- Add
duration
function:duration("2min + 12sec")
to seconds - Compatible testing with Nushell
0.5.5
- 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
- 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
- Add
zlib2base64url
forencode()
function - Add
remove_if_begin()
andremove_if_end()
functions
0.5.2
zawk stdlib cheat sheet: https://cheatography.com/linux-china/cheat-sheets/zawk/
Changes:
- Add
encrypt
anddecrypt
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
andchar_at
- Add PROCINFO global variable
0.5.0
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