Files
spring-shell/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-script.adoc
2023-08-03 14:58:09 -05: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.