diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2026-08-22 21:36:56 +0200 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2026-08-22 21:36:56 +0200 |
| commit | 57281d4490e257c1f6ed89940c751fd90d39cfd2 (patch) | |
| tree | f8af01ff60e04b78ca3f22a5edb1b2f631c9674b /home/dot_local/share/bin/executable_vodchat | |
| parent | 21f32ce419993818444736f9e6780278acee375e (diff) | |
the great shebang rectification
Diffstat (limited to 'home/dot_local/share/bin/executable_vodchat')
| -rw-r--r-- | home/dot_local/share/bin/executable_vodchat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/dot_local/share/bin/executable_vodchat b/home/dot_local/share/bin/executable_vodchat index f233348..b5bdbf8 100644 --- a/home/dot_local/share/bin/executable_vodchat +++ b/home/dot_local/share/bin/executable_vodchat @@ -1,3 +1,3 @@ -#!/bin/sh +#!/usr/bin/env sh input_file="$1" jq --raw-output '.replayChatItemAction.actions[].addChatItemAction.item.liveChatTextMessageRenderer | "[" + (.timestampUsec | tonumber / 1e6 | todateiso8601) + "] " + .authorName.simpleText + ": " + .message.runs[].text' "$input_file" 2>/dev/null |