Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orottier/coreutils-rs
Linux (core) utilities rewritten in Rust, for fun and profit
https://github.com/orottier/coreutils-rs
coreutils linux rust
Last synced: 5 days ago
JSON representation
Linux (core) utilities rewritten in Rust, for fun and profit
- Host: GitHub
- URL: https://github.com/orottier/coreutils-rs
- Owner: orottier
- Created: 2020-04-15T16:47:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T19:31:30.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T18:33:26.611Z (over 1 year ago)
- Topics: coreutils, linux, rust
- Language: Rust
- Size: 104 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# coreutils-rs
Linux (core) utilities rewritten in Rust, for fun and profit
| | done | todo | deps |
|---------|--------------------------------------------------------|------------------------------------------------------------------------------------------|------------------------------|
| cat | output file
output stdin
line numbers | some print options | |
| cut | cut bytes, chars, fields | multiple ranges
... | clap |
| du | count and summarize paths | do not visit paths twice
symlinks
all other options | |
| less | show file
cursor navigation
search and highlight | show stdin
searching backwards
terminal resizing
page up/down
tailing
... | termion
regex
memmap |
| ping | ipv4
ipv6 (somewhat)
resolving | ipv6 sequence numbers
icmp identifiers
report ttl, damaged
... | pnet |
| pv | stats
progress bar
| ... | indicatif |
| sort | byte order
in-mem
external (batch)
parallel | other ordering
other options | tempfile
clap
num\_cpus|
| sponge | spong to file
sponge to stdout
append | use tempfiles
atomic file mv | |
| tail | tail file
tail stdin
follow -f
lines -n | tail multiple files
... | clap |
| tee | tee to file(s)
append | ignore SIGINT option | |
| timeout | run cmd with time limit | send signals | |
| wc | parallel
fast path for line count | print summary per input
fast path for byte count | |
| xargs | batch
single
parallel
max args
verbose | less unwraps()
more options | clap |# Build instructions
For slim binaries:
```
RUSTFLAGS='-C link-arg=-s' cargo build --release
```# Tests
no tests yet
# Docs
```
cargo doc --no-deps --open
```