Docs.rs
fcoreutils-0.14.0
fcoreutils 0.14.0
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
aibrushcomputer
Dependencies
anyhow ^1
normal
base64-simd ^0.8
normal
blake2b_simd ^1
normal
clap ^4
normal
digest ^0.10
normal
itoa ^1
normal
libc ^0.2
normal
md-5 ^0.10
normal
memchr ^2
normal
memmap2 ^0.9
normal
mimalloc ^0.1
normal
rayon ^1
normal
regex ^1
normal
sha1 ^0.10
normal
sha2 ^0.10
normal
thiserror ^2
normal
criterion ^0.8
dev
proptest ^1
dev
tempfile ^3
dev
md-5 ^0.10
normal
sha1 ^0.10
normal
sha2 ^0.10
normal
ring ^0.17
normal
openssl ^0.10
normal
Versions
55.84%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module pr
coreutils_
rs
0.14.0
Module pr
Module Items
Structs
Constants
Functions
In crate coreutils_
rs
coreutils_rs
Module
pr
Copy item path
Source
Structs
§
PrConfig
Configuration for the pr command.
Constants
§
DEFAULT_
PAGE_
LENGTH
Default page length in lines.
DEFAULT_
PAGE_
WIDTH
Default page width in columns.
FOOTER_
LINES
Number of footer lines (5 blank).
HEADER_
LINES
Number of header lines (2 blank + 1 header + 2 blank).
Functions
§
pr_data
Paginate raw byte data — fast path that avoids per-line String allocation. When no tab expansion or control char processing is needed, lines are extracted as &str slices directly from the input buffer (zero-copy).
pr_file
Paginate a single file and write output.
pr_
merge
Paginate multiple files merged side by side (-m mode).