https://github.com/frewsxcv/rcat
Concatenate and print files in a Rust byte slice compatible format.
https://github.com/frewsxcv/rcat
cat rust
Last synced: 8 months ago
JSON representation
Concatenate and print files in a Rust byte slice compatible format.
- Host: GitHub
- URL: https://github.com/frewsxcv/rcat
- Owner: frewsxcv
- Created: 2017-02-24T13:37:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T10:58:05.000Z (about 3 years ago)
- Last Synced: 2025-01-12T01:35:38.503Z (over 1 year ago)
- Topics: cat, rust
- Language: Rust
- Homepage:
- Size: 34.2 KB
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rcat
Concatenate and print files in a Rust byte slice compatible format.
## Install
```
cargo install rcat
```
## Usage
```
$ cat foo.txt
Hello world! 👋🌎
$ rcat foo.txt
Hello world! \xf0\x9f\x91\x8b\xf0\x9f\x8c\x8e\n
$ rcat --quote foo.txt
b"Hello world! \xf0\x9f\x91\x8b\xf0\x9f\x8c\x8e\n"
```