Don't use gph menu selector format for recipe search results - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 7d98e1446189c2b3d331c38ba18b1e8494518db7 DIR parent 6a8f9601415a2c89b52d29ade76ef1e8e1c7592f HTML Author: Scarlett McAllister <no+reply@roygbyte.com> Date: Wed, 27 Mar 2024 20:23:49 -0300 Don't use gph menu selector format for recipe search results Signed-off-by: Annna Robert-Houdin <annna@bitreich.org> Diffstat: M fridge-recipe-search | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/fridge-recipe-search b/fridge-recipe-search @@ -16,11 +16,11 @@ moar=$(printf "/~bencollver/recipes/search?%s\r\n" "${ingredients}" \ | nc tilde.pink 70 \ | grep "^0" \ | sed 's,^0,,' \ - | awk -F '\t' '{ printf "[0|%s|%s|%s|%s]\n", $1, $2, $3, 70; }') + | awk -F '\t' '{ printf "0%s %s %s %s\n", $1, $2, $3, 70; }') adc=$(printf "/recipes?%s\r\n" "${ingredients}" \ | nc adamsgaard.dk 70 \ | grep "^0" \ | sed 's,^0,,' \ - | awk -F '\t' '{ printf "[0|%s|%s|%s|%s]\n", $1, $2, $3, 70; }') + | awk -F '\t' '{ printf "0%s %s %s %s\n", $1, $2, $3, 70; }') all=$( printf "%s\n%s" "$moar" "$adc" | sort ) printf "%s" "$all"