From 43848454c02b0afac4b38554086c8fef6cbb78b5 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 13 Dec 2025 21:13:28 +0900 Subject: modified bin/hugow, created htop/, created htop/, created htop/ --- mac/.local/bin/hugow | 54 ++++++++++++++++++++++++++-------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'mac/.local') diff --git a/mac/.local/bin/hugow b/mac/.local/bin/hugow index 0460174..e9113a0 100755 --- a/mac/.local/bin/hugow +++ b/mac/.local/bin/hugow @@ -18,33 +18,33 @@ fi tmp="$(mktemp "$out.XXXXXXXX.tmp")" -awk -v defaults="$defaults" ' -BEGIN { - n = split(defaults, a, /[[:space:]]+/) - insert = "" - for (i = 1; i <= n; i++) { - if (a[i] == "") continue - name = a[i] ".mp4" - insert = insert \ -"
  • \n" \ -" " name "\n" \ -"
  • \n" - } - injected = 0 -} -{ - print - if (!injected && $0 ~ /]*id=["'\''"]list["'\''"][^>]*>/) { - printf("%s", insert) - injected = 1 - } -} -END { if (!injected) exit 2 } -' "$out" >"$tmp" - -mv "$tmp" "$out" -echo "Injected defaults into: $out" - +# awk -v defaults="$defaults" ' +# BEGIN { +# n = split(defaults, a, /[[:space:]]+/) +# insert = "" +# for (i = 1; i <= n; i++) { +# if (a[i] == "") continue +# name = a[i] ".mp4" +# insert = insert \ +# "
  • \n" \ +# " " name "\n" \ +# "
  • \n" +# } +# injected = 0 +# } +# { +# print +# if (!injected && $0 ~ /]*id=["'\''"]list["'\''"][^>]*>/) { +# printf("%s", insert) +# injected = 1 +# } +# } +# END { if (!injected) exit 2 } +# ' "$out" >"$tmp" +# +# mv "$tmp" "$out" +# echo "Injected defaults into: $out" +# ssh "$server" "mkdir -p '$dest'" if [ -n "${THESIAH_SSH_OPTS:-}" ]; then -- cgit v1.2.3