From dd78faaf40862bd1552ec36c41374b527f747284 Mon Sep 17 00:00:00 2001 From: Xiao Pan <gky44px1999@gmail.com> Date: Fri, 23 Feb 2024 03:08:52 -0800 Subject: Reorganize shell scripts into sh dir, consider in the future fsh will have different kinds of files --- loop | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 loop (limited to 'loop') diff --git a/loop b/loop deleted file mode 100755 index 6a57826..0000000 --- a/loop +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -while getopts t: opt; do - case $opt in - t) time="$OPTARG";; - \?) exit 1;; - esac -done -shift $((OPTIND-1)) - -while :; do - # suggested by https://github.com/koalaman/shellcheck/wiki/SC2294 - "$@" - sleep "${time:-1}" -done -- cgit v1.2.3-70-g09d2