Fix menu item type in URI for fridge search. - 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 555a92ea45fb033077108e149dc75fa0302be302 DIR parent 50a4c26037d0d41c9d9a6e901f8c374ce66400b6 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Fri, 27 Aug 2021 16:06:48 +0200 Fix menu item type in URI for fridge search. Diffstat: M fridge-recipe-search | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/fridge-recipe-search b/fridge-recipe-search @@ -10,5 +10,5 @@ ingredients="$@" printf "/recipes?%s\r\n" "${ingredients}" \ | nc adamsgaard.dk 70 \ | grep "^0" \ - | sed 's,\r$,,; s,\(.\)\([^\t]*\)\t\([^\t]*\)\t\([^\t]*\)\t\([^\t]*\).*,gopher://\4:\5\3 ( \2 ),; s,:70/,/,;' + | sed 's,\r$,,; s,\(.\)\([^\t]*\)\t\([^\t]*\)\t\([^\t]*\)\t\([^\t]*\).*,gopher://\4:\5/\1\3 ( \2 ),; s,:70/,/,;'