summaryrefslogtreecommitdiff
path: root/src/scripts/get_title.sh
blob: da59cb1ebb90af234678f810bab4944b8bd928f2 (plain)
1
2
3
4
5
get_title() {
	pup -p -f "$1" 'title text{}' | \
		tr -d \\n | \
		sed 's/\"/\"\"/g'
}