diff --git a/spcd.sh b/spcd.sh index 808d706..a5d95c0 100644 --- a/spcd.sh +++ b/spcd.sh @@ -952,7 +952,18 @@ spcd_split() { spcd_step() { SPCD_STEP=$((SPCD_STEP + 1)) SPCD_STEP_TEXT="${*}" - spcd_banner "${SPCD_STEP}" "${SPCD_STEP_TEXT}" + unset SPCD_SUBSTEP + spcd_banner "${SPCD_STEP}" "${SPCD_VERT}" "${SPCD_STEP_TEXT}" +} + +spcd_substep() { + SPCD_SUBSTEP=$((SPCD_SUBSTEP + 1)) + spcd_banner \ + "${SPCD_STEP}.${SPCD_SUBSTEP}" \ + "${SPCD_VERT}" \ + "${SPCD_STEP_TEXT}" \ + "${SPCD_VERT}" \ + "${*}" } spcd_write() {