Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```