From 7fb869868f708f28d5351cce0ccfe0d9e183568e Mon Sep 17 00:00:00 2001 From: Louie S Date: Sat, 11 Mar 2023 17:44:47 -0800 Subject: Change 'automake' to 'bison' --- src/index.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/index.sh') 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=".*\(automake\).*" + PATTERN=".*\(Bison.*\).*" #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 '&' with '&' -- cgit