For the latest stable version, please use Spring Shell 3.3.3!spring-doc.cn

Script

The script command accepts a local file as an argument and replays commands found there, one at a time.spring-doc.cn

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.spring-doc.cn