Versions in this module Expand all Collapse all v2 v2.0.0 Oct 9, 2026 Changes in this version + const MaxDepth + var ShellValueOptions = map[string]bool + var Shells = map[string]bool + var Wrappers = map[string]bool + func Command(words []string) (name string, args []string) + func CommandName(w string) string + func IsRedirect(w string) bool + func RedirectTakesNext(w string) bool + func RmFlags(args []string) (recursive, force bool, targets []string) + func RmRefused(words []string) bool + func Segments(s string) (segs [][]string, nested []string) + func Steps() int64 + type Result int + const Found + const None + const TooDeep + func DestructiveRm(command string) Result + func Walk(cmd string, fn func(words []string) bool) Result