-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: shell-daemons
action: commit
revision:
path_from:
revision_from: 881116c36332173ef0407779d1d1d3b4d52f9c85:
path_to:
revision_to:

git.thebackupbox.net

shell-daemons

git://git.thebackupbox.net/shell-daemons

commit 881116c36332173ef0407779d1d1d3b4d52f9c85
Author: epoch <epoch@thebackupbox.net>
Date:   Mon Feb 19 19:36:35 2024 +0000

    poll-my-finger-ring was expect user@host format for third field instead of a finger URI. using uricut from uritools repo to parse those now.

diff --git a/poll-my-finger-ring.sh b/poll-my-finger-ring.sh

index 59e42bcd53630862d567aa95648eb615ffc95d82..

index ..3e023779494ed3f232536a9211d1035cde8ac118 100755

--- a/poll-my-finger-ring.sh
+++ b/poll-my-finger-ring.sh
@@ -5,5 +5,6 @@ finger ring@thebackupbox.net \
 	| tail -n+2 \
 	| while read a b c;do
 		echo 'checking: '"$c"
-		finger "${c}"@thebackupbox.net | tail -n1
+		p="$(uricut -p <<< "$c")@$(uricut -d <<< "$c")"
+		finger "${p}"@thebackupbox.net | tail -n1
 done

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 10:54:34 2024