frawk
frawk copied to clipboard
an efficient awk-like language
The Overview doc says "I suspect [frawk] would run much slower on a 64-bit non-x86 architecture." Does that mean it frawk would be slower on ARM than frawk on x84,...
To my surprise, this crate compiles with `cargo build --no-default-features` on Windows 10! Woot, `awk` on Windows! :D Attempting to compile with the `use_jemalloc` against `x86_64-pc-windows-msvc` (the most common Windows...
Seeing as how `awk` would be greatly enhanced by the addition of [first-class functions](https://en.wikipedia.org/wiki/First_class_function) (FCFs), it would be nice to add them to `frawk`. It turns out that `gawk` already...
Scientific notation is not supported in awk script, but works for parsing files with scientific notation. ```bash $ printf '6.18163e-27\n1.80782e-40\n2.38296e-05\n1.92843e-09\n7.37465e-39\n' | frawk '$1
Hi there! I got this error while trying to build `frawk` with `cargo`: `no method named about found for struct clap::Arg in the current scope` The context of this error...
If possible minimize clash between gawk and frawk flags: ``` ❯ frawk -h frawk 0.4 Eli R. frawk is a pattern scanning and (semi-structured) text processing language USAGE: frawk [FLAGS]...
```bash $ echo 'test' | frawk '{print}' $ echo 'test' | frawk '{print }' test $ echo 'test' | frawk '{print;}' test $ echo 'test' | frawk '{print $0}' test...
I'm having difficulty generating multidimensional maps with frawk. let's try to get yearly sales report for some products. here's data ```bash $ echo -n -e "year,product,sold\n2021,A,50\n2021,B,100\n2021,A,70\n2020,A,10" > sales.csv $ cat...
frawk makes particular use of AVX2 instructions; with custom routines that use runtime feature detection. In addition to that, frawk compiles with `-C native` by default, which leads to emitting...
Today, frawk supports awk-style splits that populate an array with all of the relevant sub-strings in an (optional) separator. It would be both more succinct and more efficient to support...