tail

Print the last lines or bytes of inputs like tail, runnable via moonx

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

Dependencies

README

#tail for moonx

Print the last lines or bytes of files or stdin:

printf '1\n2\n3\n4\n' | moonx bobzhang/tail -n 2 printf '1\n2\n3\n4\n' | moonx bobzhang/tail -n +3 # from line 3 to the end

Options: -n N last N lines (default 10), -n +K from line K, -c N last N bytes, -c +K from byte K, -q/-v header control. There is no -f (follow) mode: input is read to EOF.

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io