summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@tutanota.com>2024-06-21 16:22:12 -0400
committerLouie Shprung <lshprung@tutanota.com>2024-06-21 16:22:12 -0400
commitfbb3626d1987cdc4f787ca04d37178cca3009f7b (patch)
tree8397f311223d7c07d5acbcb3e0f1aab45490fce4
parentb7cc10d949a67cbc3685a43c502e93ffaf01c09e (diff)
Move get_title function to shared scripts
m---------src/configs/GNU_Autoconf0
m---------src/configs/GNU_Autoconf_Archive0
m---------src/configs/GNU_Make0
m---------src/configs/flex0
-rw-r--r--src/scripts/get_title.sh5
5 files changed, 5 insertions, 0 deletions
diff --git a/src/configs/GNU_Autoconf b/src/configs/GNU_Autoconf
-Subproject 80c48802cda4655b21f70a6788611d27079ae55
+Subproject cc7f55fe6d1e1b8e812d76abd95d667c38c4394
diff --git a/src/configs/GNU_Autoconf_Archive b/src/configs/GNU_Autoconf_Archive
-Subproject 75a9d380fdeb015e09a93e875a9a9edca9f1634
+Subproject 628b2419c86d4921b423d62024460e25bacf77f
diff --git a/src/configs/GNU_Make b/src/configs/GNU_Make
-Subproject 6982df93c81edae0f3b4f599c8ea753d14bd3bc
+Subproject 54f17b5d0468c0b470a3b7576bcd9b81306ef25
diff --git a/src/configs/flex b/src/configs/flex
-Subproject 27fe42030ff1fbf39820ea5673f19f822957096
+Subproject aa014d9c128cbc95ca5d6c0522cd3704629a1f1
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'
+}