summaryrefslogtreecommitdiff
path: root/src/multiboot/get_title
blob: 6bf29fcf60a788eff7935fff7b8debba04a1ad59 (plain)
1
2
3
4
5
6
7
8
9
get_title() {
	FILE="$1"


	pup -p -f "$FILE" 'title text{}' | \
		tr -d \\n | \
		sed 's/^Multiboot[^:]*: //' | \
		sed 's/\"/\"\"/g'
}