github.com/cilki/sh@v2.6.4+incompatible/shell/doc.go (about) 1 // Copyright (c) 2017, Daniel Martà <mvdan@mvdan.cc> 2 // See LICENSE for licensing information 3 4 // Package shell contains high-level features that use the syntax, expand, and 5 // interp packages under the hood. 6 // 7 // Please note that this package uses POSIX Shell syntax. As such, path names on 8 // Windows need to use double backslashes or be within single quotes when given 9 // to functions like Fields. For example: 10 // 11 // shell.Fields("echo /foo/bar") // on Unix-like 12 // shell.Fields("echo C:\\foo\\bar") // on Windows 13 // shell.Fields("echo 'C:\foo\bar'") // on Windows, with quotes 14 package shell