https://github.com/anexper/clr-echor
https://github.com/anexper/clr-echor
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anexper/clr-echor
- Owner: anEXPer
- Created: 2024-01-27T22:08:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-11T01:10:09.000Z (almost 2 years ago)
- Last Synced: 2025-01-02T09:44:40.012Z (over 1 year ago)
- Language: Rust
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Echor
This is an implementation of echo written in Rust for practice purposes.
The book Command-Line Rust from O'Reilly guided my practice,
but I took smaller steps and started from tests
differently than the book happens to.
Note that the `echo` design here is different from real echo,
at the moment.
It gets several default behaviors from flags, such as `-h` and `-v`.
Real `echo` exits 0 and prints nothing if you pass it no strings.
This one exits 1 and prints usage.
We're going to document all of this with tests
as an exercise.