Add skip support to libdemo

[?]
Apr 3, 2023, 7:16 PM
XHZM6RPTGMY3AJUC4IMVF7OTEKBRJDXRRW3S6WZKE4BY2GYI3C5QC

Dependencies

Change contents

  • edit in libdemo/libdemo.sh at line 66
    [2.521]
    [2.521]
    if [[ "${REPLY}" =~ [sS] ]]; then
    return 1
    fi
  • replacement in libdemo/libdemo.sh at line 75
    [5.2110][5.40:58]()
    demopause
    [5.2110]
    [5.2133]
    demopause || 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=SC2294
    if eval "$@"; then
    if [ "${__libdemo_expect:-}" = failure ]; then
    return 1
    fi
    else
    if [ "${__libdemo_expect:-}" = success ]; then
    return 1
    fi
    [5.2376]
    [5.3409]
    if demopause; then
    # shellcheck disable=SC2294
    if eval "$@"; then
    if [ "${__libdemo_expect:-}" = failure ]; then
    return 1
    fi
    else
    if [ "${__libdemo_expect:-}" = success ]; then
    return 1
    fi
    fi
    demopause
  • edit in libdemo/libdemo.sh at line 162
    [5.3450][5.3450:3468]()
    demopause
  • replacement in README.md at line 23
    [5.9][5.10:178]()
    ⚠ 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.
    [5.9]
    [4.201]
    ⚠ 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.