Add skip support to libdemo
[?]
Apr 3, 2023, 7:16 PM
XHZM6RPTGMY3AJUC4IMVF7OTEKBRJDXRRW3S6WZKE4BY2GYI3C5QCDependencies
- [2]
DIZWRCHFTweak output - [3]
D4LGOWSOTweak libdemo - [4]
EINBKIWAUpdate README - [5]
M5U5PAX7Add wrapper script, improve libdemo - [6]
VXZ5QMIEFix CI - [7]
52F4Q6CJUpdate README - [8]
VT7F3Q7QClean up libdemo - [9]
7AUC4NKIInitial commit - [10]
JGZ7GBCLAdd linting - [11]
55PCHITPClean up libdemo - [12]
VEWJUZLAFix linter - [13]
Q6IC7LVGTweak libdemo - [14]
UWWBKZ4RImprove README - [15]
QICPGJ2DMake simple.c dump more concise - [16]
SNMYL7H6Update README - [17]
VMUKZQZRWork on 02-nix-build
Change contents
- edit in libdemo/libdemo.sh at line 66
if [[ "${REPLY}" =~ [sS] ]]; thenreturn 1fi - replacement in libdemo/libdemo.sh at line 75
demopausedemopause || true - replacement in libdemo/libdemo.sh at line 149[5.2389]→[5.2389:2407](∅→∅),[5.2407]→[5.7:70](∅→∅),[5.70]→[3.5:64](∅→∅),[3.64]→[5.2469:2494](∅→∅),[5.70]→[5.2469:2494](∅→∅),[5.114]→[5.2469:2494](∅→∅),[5.294]→[5.2469:2494](∅→∅),[5.2469]→[5.2469:2494](∅→∅),[5.2891]→[5.2891:2919](∅→∅),[5.2919]→[3.65:124](∅→∅),[3.124]→[5.2960:2985](∅→∅),[5.137]→[5.2960:2985](∅→∅),[5.171]→[5.2960:2985](∅→∅),[5.342]→[5.2960:2985](∅→∅),[5.2960]→[5.2960:2985](∅→∅),[5.3394]→[5.3394:3409](∅→∅)
demopause# shellcheck disable=SC2294if eval "$@"; thenif [ "${__libdemo_expect:-}" = failure ]; thenreturn 1fielseif [ "${__libdemo_expect:-}" = success ]; thenreturn 1fiif demopause; then# shellcheck disable=SC2294if eval "$@"; thenif [ "${__libdemo_expect:-}" = failure ]; thenreturn 1fielseif [ "${__libdemo_expect:-}" = success ]; thenreturn 1fifidemopause - edit in libdemo/libdemo.sh at line 162
demopause - replacement in README.md at line 23
⚠ The program will pause before and after commands are executed to allow some time to absorb what is happening. `[▼]` will be displayed: press any key to continue.⚠ The program will pause before and after commands are executed to allow some time to absorb what is happening. `[▼]` will be displayed: press any* key to continue.⚠ If you press 's' when waiting at a pause after a command is printed but before it is executed, it will be skipped instead.