GrayJack / coreutils

Core utils re-implementation for UNIX/UNIX-like systems written in Rust
Mozilla Public License 2.0
106 stars 40 forks source link

Head: Adding support for STDIN file option `-` #120

Closed marcospb19 closed 4 years ago

marcospb19 commented 4 years ago

Fixes #117

Now the tool head supports the STDIN - (a single hyphen) on the file list as a STDIN reference.

Usage example:

head - /dev/random -

It does means:

STDIN
File("/dev/random")
STDIN
GrayJack commented 4 years ago

bors r+

bors[bot] commented 4 years ago

Build succeeded: