head

Print the first lines or bytes of inputs like head, runnable via moonx

head
coreutils
text
cli
wasm
moon add bobzhang/head@0.1.0
Download zip
Author
Version
0.1.0
License
Apache-2.0
Last updated
57 minutes ago
Downloads
1

Dependencies

README

#head for moonx

Print the first lines or bytes of files or stdin:

printf '1\n2\n3\n' | moonx bobzhang/head -n 2 moonx bobzhang/head -c 16 data.bin

Options: -n N first N lines (default 10), -c N first N bytes, -q/-v control the ==> file <== headers shown for multiple files.

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io