shitbox/pkg/usr/share/nu/completions/cut.nu

19 lines
546 B
Plaintext

module completions {
# cut out selected fields of each line of a file
export extern cut [
--bytes(-b): string # select only these bytes
--characters(-c): string # select only these characters
--fields(-f): string # select only these fields
--delimiter(-d): string # use DELIM instead of TAB for field delimiter
-n: string # ignored
--only-delimited(-s)
...file: string
--help(-h) # Print help
--version(-V) # Print version
]
}
use completions *