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