Files
spring-shell/spring-shell-docs/modules/ROOT/pages/commands/builtin/script.adoc
Janne Valkealahti 2819c1d367 Update docs
2023-10-06 16:39:50 +01:00

9 lines
378 B
Plaintext

[[built-in-commands-script]]
= Script
:page-section-summary-toc: 1
The `script` command accepts a local file as an argument and replays commands found there, one at a time.
Reading from the file behaves exactly like inside the interactive shell, so lines starting with `//` are considered
to be comments and are ignored, while lines ending with `\` trigger line continuation.