complete-x-cstring-n'test (count (commandline -opc)) -ge 2; and string match -qr split0\?\$ -- (commandline -opc)[2]'-s m -l max -a"(seq 1 10)"-d"Specify maximum number of splits"
complete-f-cstring-n'test (count (commandline -opc)) -ge 2; and string match -qr split0\?\$ -- (commandline -opc)[2]'-s r -l right -d"Split right-to-left"
complete-f-cstring-n"test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] trim"-s c -l chars -d"Specify the chars to trim (default: whitespace)"-x
complete-f-cstring-n"test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] match"-s n -l index -d"Report index, length of match"
complete-f-cstring-n"test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] match"-s v -l invert -d"Report only non-matches"
complete-f-cstring-n"test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] match"-s e -l entire -d"Show entire matching lines"
complete-f-cstring-n"test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] replace"-s f -l filter -d"Report only actual replacements"
complete-x-cstring-n"test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] repeat"-s n -l count -xa"(seq 1 10)"-d"Repetition count"
complete-x-cstring-n"test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] repeat"-s m -l max -xa"(seq 1 10)"-d"Maximum number of printed chars"
complete-f-cstring-n"test (count (commandline -opc)) -lt 2"-a pad
complete-x-cstring-n"test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] pad"-s r -l right -d"Pad right instead of left"
complete-x-cstring-n"test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] pad"-s c -l char -x-d"Character to use for padding"
complete-x-cstring-n"test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] pad"-s w -l width -x-d"Integer width of the result, default is maximum width of inputs"