From e7eda80bcdf575188ab98a4454a4515217967990 Mon Sep 17 00:00:00 2001 From: Louie S Date: Fri, 15 Sep 2023 09:50:45 -0400 Subject: Add multiboot target --- src/grub-dev/get_title | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/grub-dev/get_title (limited to 'src/grub-dev/get_title') diff --git a/src/grub-dev/get_title b/src/grub-dev/get_title new file mode 100644 index 0000000..df8772b --- /dev/null +++ b/src/grub-dev/get_title @@ -0,0 +1,9 @@ +get_title() { + FILE="$1" + + + pup -p -f "$FILE" 'title text{}' | \ + tr -d \\n | \ + sed 's/^GNU[^:]*: //' | \ + sed 's/\"/\"\"/g' +} -- cgit