├── .gitattributes ├── .github ├── FUNDING.yml └── workflows │ ├── audit.yml │ └── ci.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── doc.go ├── go.mod ├── go.sum ├── img ├── magic.png └── tools.png ├── script.go ├── script_test.go ├── script_unix_test.go ├── script_windows_test.go └── testdata ├── access.log ├── commits.json ├── empty.txt ├── hashSum.input.txt ├── hello.txt ├── multiple_files ├── 1.txt ├── 2.txt └── 3.tar.zip ├── multiple_files_with_subdirectory ├── 1.txt ├── 2.txt ├── 3.tar.zip └── dir │ ├── .hidden │ ├── 1.txt │ └── 2.txt ├── releases.json ├── script ├── args_sends_arguments_to_pipe.txtar └── stdin_sends_stdin_to_pipe.txtar └── test.txt /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/audit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/.github/workflows/audit.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/README.md -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/doc.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/go.sum -------------------------------------------------------------------------------- /img/magic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/img/magic.png -------------------------------------------------------------------------------- /img/tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/img/tools.png -------------------------------------------------------------------------------- /script.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/script.go -------------------------------------------------------------------------------- /script_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/script_test.go -------------------------------------------------------------------------------- /script_unix_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/script_unix_test.go -------------------------------------------------------------------------------- /script_windows_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/script_windows_test.go -------------------------------------------------------------------------------- /testdata/access.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/testdata/access.log -------------------------------------------------------------------------------- /testdata/commits.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/testdata/commits.json -------------------------------------------------------------------------------- /testdata/empty.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/hashSum.input.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/testdata/hashSum.input.txt -------------------------------------------------------------------------------- /testdata/hello.txt: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /testdata/multiple_files/1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/multiple_files/2.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/multiple_files/3.tar.zip: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/multiple_files_with_subdirectory/1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/multiple_files_with_subdirectory/2.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/multiple_files_with_subdirectory/3.tar.zip: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/multiple_files_with_subdirectory/dir/.hidden: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/multiple_files_with_subdirectory/dir/1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/multiple_files_with_subdirectory/dir/2.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/releases.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/testdata/releases.json -------------------------------------------------------------------------------- /testdata/script/args_sends_arguments_to_pipe.txtar: -------------------------------------------------------------------------------- 1 | exec args 1 2 3 2 | stdout '1\n2\n3\n' 3 | -------------------------------------------------------------------------------- /testdata/script/stdin_sends_stdin_to_pipe.txtar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/testdata/script/stdin_sends_stdin_to_pipe.txtar -------------------------------------------------------------------------------- /testdata/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitfield/script/HEAD/testdata/test.txt --------------------------------------------------------------------------------