| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | case "$1" in |
| 4 | start) |
| 5 | printfscip-shell system . . printf. '\e[0Ksection_start:%s:%s\r\e[0K%s\n' "$(datescip-shell system . . date. +%s)" "$2" "$3" |
| 6 | ;; |
| 7 | end) |
| 8 | printfscip-shell system . . printf. '\e[0Ksection_end:%s:%s\r\e[0K\n' "$(datescip-shell system . . date. +%s)" "$2" |
| 9 | ;; |
| 10 | *) |
| 11 | >&2 echoscip-shell system . . echo. "usage: $0 start|end section_name [header_content]" |
| 12 | ;; |
| 13 | esac |