summaryrefslogtreecommitdiff
path: root/src/index.sh
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-03-11 17:44:47 -0800
committerLouie S <louie@example.com>2023-03-11 17:44:47 -0800
commit7fb869868f708f28d5351cce0ccfe0d9e183568e (patch)
treeb76e84ed8f7d44248731b48d020d3e96e2adbb7d /src/index.sh
parentee103902c141cdc3dce565af453b589fd1fc7a82 (diff)
Change 'automake' to 'bison'
Diffstat (limited to 'src/index.sh')
-rwxr-xr-xsrc/index.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.sh b/src/index.sh
index f4d898e..0a2a76c 100755
--- a/src/index.sh
+++ b/src/index.sh
@@ -6,14 +6,14 @@ shift
get_title() {
FILE="$1"
- PATTERN="<title>.*\(automake\).*</title>"
+ PATTERN="<title>.*\(Bison.*\).*</title>"
#Find pattern in file
grep -Eo "$PATTERN" "$FILE" |
#Remove tag
sed 's/<[^>]*>//g' | \
#Remove '(automake)'
- sed 's/(automake)//g' | \
+ sed 's/(Bison.*)//g' | \
#Remove trailing space
sed 's/[ ]*$//g' | \
#Replace '&amp' with '&'