From fbb3626d1987cdc4f787ca04d37178cca3009f7b Mon Sep 17 00:00:00 2001 From: Louie Shprung Date: Fri, 21 Jun 2024 16:22:12 -0400 Subject: Move get_title function to shared scripts --- src/configs/GNU_Autoconf | 2 +- src/configs/GNU_Autoconf_Archive | 2 +- src/configs/GNU_Make | 2 +- src/configs/flex | 2 +- src/scripts/get_title.sh | 5 +++++ 5 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 src/scripts/get_title.sh diff --git a/src/configs/GNU_Autoconf b/src/configs/GNU_Autoconf index 80c4880..cc7f55f 160000 --- a/src/configs/GNU_Autoconf +++ b/src/configs/GNU_Autoconf @@ -1 +1 @@ -Subproject commit 80c48802cda4655b21f70a6788611d27079ae556 +Subproject commit cc7f55fe6d1e1b8e812d76abd95d667c38c43943 diff --git a/src/configs/GNU_Autoconf_Archive b/src/configs/GNU_Autoconf_Archive index 75a9d38..628b241 160000 --- a/src/configs/GNU_Autoconf_Archive +++ b/src/configs/GNU_Autoconf_Archive @@ -1 +1 @@ -Subproject commit 75a9d380fdeb015e09a93e875a9a9edca9f16344 +Subproject commit 628b2419c86d4921b423d62024460e25bacf77fa diff --git a/src/configs/GNU_Make b/src/configs/GNU_Make index 6982df9..54f17b5 160000 --- a/src/configs/GNU_Make +++ b/src/configs/GNU_Make @@ -1 +1 @@ -Subproject commit 6982df93c81edae0f3b4f599c8ea753d14bd3bc7 +Subproject commit 54f17b5d0468c0b470a3b7576bcd9b81306ef250 diff --git a/src/configs/flex b/src/configs/flex index 27fe420..aa014d9 160000 --- a/src/configs/flex +++ b/src/configs/flex @@ -1 +1 @@ -Subproject commit 27fe42030ff1fbf39820ea5673f19f822957096f +Subproject commit aa014d9c128cbc95ca5d6c0522cd3704629a1f11 diff --git a/src/scripts/get_title.sh b/src/scripts/get_title.sh new file mode 100644 index 0000000..da59cb1 --- /dev/null +++ b/src/scripts/get_title.sh @@ -0,0 +1,5 @@ +get_title() { + pup -p -f "$1" 'title text{}' | \ + tr -d \\n | \ + sed 's/\"/\"\"/g' +} -- cgit