#!/bin/bash url='https://kafeterya.metu.edu.tr/' outfile='kafe.txt' echo "Günün yemeği:" > ${outfile} curl -s ${url} | /snap/bin/xmllint --html --xpath '//div[@class="yemek"]/p' --format - | sed -e 's/<[^>]*>//g' -e '/*/d' -e 's/^/+ /g' -e 's/./\L&/g4' >> ${outfile} python3 kafeterya.py