tee
is a command-line utility that reads from standard input and writes to standard output and files.
Source code is available at https://github.com/coreutils/coreutils.
tee-rs
is a Rust implementation of tee
command.
pre-command | tee-rs [file ...]
Features
- Interactive Input (Support Unix Only. WindowsOS is not supported)
OS
- Linux
- MacOS
- WindowsOS
- powershell
=>7.4
(install latest powershell)
- powershell
Character Encoding
- UTF-8
See release page.
Requirements
- uv
uv run --package interactive-input-sample python ./tools/interactive-input-sample/main.py
$env:PYTHONIOENCODING = "utf-8"
uv run --package interactive-input-sample python ./tools/interactive-input-sample/main.py `
| cargo run fizz.txt