├── .editorconfig ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.adoc ├── esh ├── esh.1.adoc └── tests ├── diff-test ├── generic.in ├── incl ├── a.esh ├── b.esh ├── eval-error.esh └── invalid.esh ├── no-error.exp2 ├── run-tests ├── test-cli-dump.exp ├── test-cli-dump.in ├── test-cli-dump.t ├── test-cli-help.exp ├── test-cli-help.t ├── test-cli-illegal-argument.exp2 ├── test-cli-illegal-argument.t ├── test-cli-no-args.exp2 ├── test-cli-no-args.t ├── test-cli-read-from-stdin.exp ├── test-cli-read-from-stdin.in ├── test-cli-read-from-stdin.t ├── test-cli-unknown-option.exp2 ├── test-cli-unknown-option.t ├── test-comments.exp ├── test-comments.in ├── test-empty-file.exp ├── test-empty-file.in ├── test-empty-lines.exp ├── test-empty-lines.in ├── test-escaped-tags.exp ├── test-escaped-tags.in ├── test-eval-error-nested.in ├── test-eval-error-nested.t ├── test-eval-error.in ├── test-eval-error.t ├── test-include-max-depth.exp2 ├── test-include-max-depth.in ├── test-include-no-closing.exp2 ├── test-include-no-closing.in ├── test-include-not-found-nested.exp2 ├── test-include-not-found-nested.in ├── test-include-not-found.exp2 ├── test-include-not-found.in ├── test-include-recursive.exp ├── test-include-recursive.in ├── test-include-trim-newline.exp ├── test-include-trim-newline.in ├── test-include.exp ├── test-include.in ├── test-multiline-tags.exp ├── test-multiline-tags.in ├── test-print-tag.exp ├── test-print-tag.in ├── test-scriplet-tag.exp ├── test-scriplet-tag.in ├── test-text-escaping.exp ├── test-text-escaping.in ├── test-trim-newline.exp └── test-trim-newline.in /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/Makefile -------------------------------------------------------------------------------- /README.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/README.adoc -------------------------------------------------------------------------------- /esh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/esh -------------------------------------------------------------------------------- /esh.1.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/esh.1.adoc -------------------------------------------------------------------------------- /tests/diff-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/diff-test -------------------------------------------------------------------------------- /tests/generic.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/generic.in -------------------------------------------------------------------------------- /tests/incl/a.esh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/incl/a.esh -------------------------------------------------------------------------------- /tests/incl/b.esh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/incl/b.esh -------------------------------------------------------------------------------- /tests/incl/eval-error.esh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/incl/eval-error.esh -------------------------------------------------------------------------------- /tests/incl/invalid.esh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/incl/invalid.esh -------------------------------------------------------------------------------- /tests/no-error.exp2: -------------------------------------------------------------------------------- 1 | %exit-status: 0 2 | -------------------------------------------------------------------------------- /tests/run-tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/run-tests -------------------------------------------------------------------------------- /tests/test-cli-dump.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-cli-dump.exp -------------------------------------------------------------------------------- /tests/test-cli-dump.in: -------------------------------------------------------------------------------- 1 | generic.in -------------------------------------------------------------------------------- /tests/test-cli-dump.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-cli-dump.t -------------------------------------------------------------------------------- /tests/test-cli-help.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-cli-help.exp -------------------------------------------------------------------------------- /tests/test-cli-help.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-cli-help.t -------------------------------------------------------------------------------- /tests/test-cli-illegal-argument.exp2: -------------------------------------------------------------------------------- 1 | esh: illegal argument: foo 2 | %exit-status: 10 3 | -------------------------------------------------------------------------------- /tests/test-cli-illegal-argument.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-cli-illegal-argument.t -------------------------------------------------------------------------------- /tests/test-cli-no-args.exp2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-cli-no-args.exp2 -------------------------------------------------------------------------------- /tests/test-cli-no-args.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-cli-no-args.t -------------------------------------------------------------------------------- /tests/test-cli-read-from-stdin.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-cli-read-from-stdin.exp -------------------------------------------------------------------------------- /tests/test-cli-read-from-stdin.in: -------------------------------------------------------------------------------- 1 | generic.in -------------------------------------------------------------------------------- /tests/test-cli-read-from-stdin.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-cli-read-from-stdin.t -------------------------------------------------------------------------------- /tests/test-cli-unknown-option.exp2: -------------------------------------------------------------------------------- 1 | esh: unknown option: -x 2 | %exit-status: 10 3 | -------------------------------------------------------------------------------- /tests/test-cli-unknown-option.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-cli-unknown-option.t -------------------------------------------------------------------------------- /tests/test-comments.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-comments.exp -------------------------------------------------------------------------------- /tests/test-comments.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-comments.in -------------------------------------------------------------------------------- /tests/test-empty-file.exp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test-empty-file.in: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test-empty-lines.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-empty-lines.exp -------------------------------------------------------------------------------- /tests/test-empty-lines.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-empty-lines.in -------------------------------------------------------------------------------- /tests/test-escaped-tags.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-escaped-tags.exp -------------------------------------------------------------------------------- /tests/test-escaped-tags.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-escaped-tags.in -------------------------------------------------------------------------------- /tests/test-eval-error-nested.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-eval-error-nested.in -------------------------------------------------------------------------------- /tests/test-eval-error-nested.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-eval-error-nested.t -------------------------------------------------------------------------------- /tests/test-eval-error.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-eval-error.in -------------------------------------------------------------------------------- /tests/test-eval-error.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-eval-error.t -------------------------------------------------------------------------------- /tests/test-include-max-depth.exp2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include-max-depth.exp2 -------------------------------------------------------------------------------- /tests/test-include-max-depth.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include-max-depth.in -------------------------------------------------------------------------------- /tests/test-include-no-closing.exp2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include-no-closing.exp2 -------------------------------------------------------------------------------- /tests/test-include-no-closing.in: -------------------------------------------------------------------------------- 1 | <%+ incl/a.esh 2 | %> 3 | -------------------------------------------------------------------------------- /tests/test-include-not-found-nested.exp2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include-not-found-nested.exp2 -------------------------------------------------------------------------------- /tests/test-include-not-found-nested.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include-not-found-nested.in -------------------------------------------------------------------------------- /tests/test-include-not-found.exp2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include-not-found.exp2 -------------------------------------------------------------------------------- /tests/test-include-not-found.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include-not-found.in -------------------------------------------------------------------------------- /tests/test-include-recursive.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include-recursive.exp -------------------------------------------------------------------------------- /tests/test-include-recursive.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include-recursive.in -------------------------------------------------------------------------------- /tests/test-include-trim-newline.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include-trim-newline.exp -------------------------------------------------------------------------------- /tests/test-include-trim-newline.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include-trim-newline.in -------------------------------------------------------------------------------- /tests/test-include.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include.exp -------------------------------------------------------------------------------- /tests/test-include.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-include.in -------------------------------------------------------------------------------- /tests/test-multiline-tags.exp: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | 3 | test-multiline-tags 4 | -------------------------------------------------------------------------------- /tests/test-multiline-tags.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-multiline-tags.in -------------------------------------------------------------------------------- /tests/test-print-tag.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-print-tag.exp -------------------------------------------------------------------------------- /tests/test-print-tag.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-print-tag.in -------------------------------------------------------------------------------- /tests/test-scriplet-tag.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-scriplet-tag.exp -------------------------------------------------------------------------------- /tests/test-scriplet-tag.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-scriplet-tag.in -------------------------------------------------------------------------------- /tests/test-text-escaping.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-text-escaping.exp -------------------------------------------------------------------------------- /tests/test-text-escaping.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-text-escaping.in -------------------------------------------------------------------------------- /tests/test-trim-newline.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-trim-newline.exp -------------------------------------------------------------------------------- /tests/test-trim-newline.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jirutka/esh/HEAD/tests/test-trim-newline.in --------------------------------------------------------------------------------