2026-06-05 15:35:45 +02:00
|
|
|
<div align="center">
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
2026-04-29 21:59:04 +02:00
|
|
|
# uutils AWK
|
|
|
|
|
|
2026-06-05 15:35:45 +02:00
|
|
|
[](https://discord.gg/wQVJbvJ)
|
|
|
|
|
[](https://github.com/uutils/awk/blob/main/LICENSE-MIT)
|
|
|
|
|
[](https://github.com/uutils/awk/blob/main/LICENSE-APACHE)
|
|
|
|
|
[](https://deps.rs/repo/github/uutils/awk)
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
uutils AWK is a WIP, cross-platform reimplementation of GNU AWK (a.k.a. `gawk`) in
|
|
|
|
|
[Rust](http://www.rust-lang.org).
|
|
|
|
|
|
|
|
|
|
## Goals
|
|
|
|
|
|
|
|
|
|
uutils AWK aims to be a drop-in replacement for `gawk`. Differences with GNU
|
|
|
|
|
are treated as bugs.
|
|
|
|
|
|
|
|
|
|
Our key objectives include:
|
|
|
|
|
- Matching GNU's output (stdout and error code) exactly
|
|
|
|
|
- Better error messages
|
|
|
|
|
- Best-in-class memory safety
|
|
|
|
|
- Improved performance
|
|
|
|
|
- Providing comprehensive internationalization support (UTF-8, etc.)
|
|
|
|
|
- Extensions when relevant
|
|
|
|
|
|
|
|
|
|
uutils AWK aims to work on as many platforms as possible, to be able to use the same
|
|
|
|
|
utils on Linux, macOS, *BSD, Windows, WASI and other platforms. This ensures, for example,
|
|
|
|
|
that scripts can be easily transferred between platforms.
|
|
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
|
|
- Rust (`cargo`, `rustc`)
|
|
|
|
|
|
|
|
|
|
### Rust Version
|
|
|
|
|
|
|
|
|
|
uutils AWK follows Rust's release channels and is tested against stable, beta and
|
|
|
|
|
nightly. The minimum supported Rust version at the moment is the previous stable
|
|
|
|
|
version, that is, 1.95.0 at the time of writing.
|
2026-04-29 21:59:04 +02:00
|
|
|
|
|
|
|
|
## State of the Repo
|
|
|
|
|
|
2026-05-10 19:19:16 +02:00
|
|
|
Check out https://github.com/uutils/awk/issues/16.
|
2026-04-29 21:59:04 +02:00
|
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
2026-06-05 15:35:45 +02:00
|
|
|
To contribute to uutils AWK, please see [CONTRIBUTING](https://github.com/uutils/coreutils/blob/main/CONTRIBUTING.md).
|
2026-04-29 21:59:04 +02:00
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
2026-06-05 15:35:45 +02:00
|
|
|
uutils AWK is licensed under either the MIT License or the Apache v2.0 License - see the `LICENSE-MIT`, `LICENSE-APACHE` files for details.
|
|
|
|
|
|
|
|
|
|
GNU AWK is licensed under the GPL 3.0 or later.
|