cut

cut command for MoonX.

command-line
moonx
wasm
Download zip
Author
Version
0.1.0
License
Apache-2.0
Last updated
18 hours ago
Downloads
2

Dependencies

#cut for moonx

Select fields or character positions from each line:

printf 'x,y,z\n' | moonx cli/cut -d, -f1,3 moonx cli/cut -c 1-4 fixed.txt

Options: -f LIST field list, -c LIST character list, -d CHAR field delimiter (default TAB), -s skip lines without the delimiter. Lists accept N, N-M, N-, and -M, separated by commas; output preserves input order.

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io