This is a CLI tool I made for replacing C trigraphs in strings. You can pipe to and from it, like grep.
$ echo "int main() ??<??>" | trigraph
int main() {}
$ echo "// Testing123??/" | trigraph
// Testing123\
- Written in Rust 🦀
- I made it in a few hours ⏰
- Has a few unit tests ✅
Compile the project using cargo
:
cargo build --release
cargo build