summaryrefslogtreecommitdiff
path: root/sh/prp
AgeCommit message (Expand)Author
2024-04-01better comment locationXiao Pan
2024-02-28updateXiao Pan
2024-02-28unset prp pass vars just in case it being sourcedXiao Pan
2024-02-28New script prp, to practice password without print password on-screenXiao Pan
an class="hl opt">: opt; do case $opt in c) tz_from="Asia/Shanghai";; f) tz_from="$(tzselect)";; F) tz_from="$OPTARG";; # one extra ',' at the end will not let `for tz in ...` loop one extra time? t) for i in $(seq "$OPTARG"); do tz_to="$(tzselect),$tz_to" done;; T) tz_to="$OPTARG,$tz_to";; \?) exit 1;; esac done shift $((OPTIND-1))