Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (14 sloc) 265 Bytes
url="$1"
tags=""
recoms=$(. reco.sh $url)
prompt=1
while [ $prompt -eq 1 ]; do
tag=$(echo "$recoms" | dmenu -p "Tags:")
if [ ${#tag} -lt 1 ]; then
prompt=0
else
tags="$tags$tag "
recoms=$(echo "$recoms"|sed "/$tag/d")
fi
done
echo "$tags"