Skip to content

pollenjp/tee-rs

Repository files navigation

tee by rust

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 ...]

Support

Features

  • Interactive Input (Support Unix Only. WindowsOS is not supported)

OS

Character Encoding

  • UTF-8

Install

See release page.

Development

Requirements

  • uv

Test

Interactive Input

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