summaryrefslogtreecommitdiff
path: root/src/index.sh
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@scu.edu>2023-01-02 10:41:37 -0800
committerLouie Shprung <lshprung@scu.edu>2023-01-02 10:41:37 -0800
commitd13b284794b915d81d7faccc6e04c002b5882ffb (patch)
treea1edcbcd550d56e61068a585665c338c2fc59971 /src/index.sh
parentee103902c141cdc3dce565af453b589fd1fc7a82 (diff)
Change 'automake' to 'GNU Coding Standards'
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..75f20a5 100755
--- a/src/index.sh
+++ b/src/index.sh
@@ -6,14 +6,14 @@ shift
get_title() {
FILE="$1"
- PATTERN="<title>.*\(automake\).*</title>"
+ PATTERN="<title>.*\(GNU Coding Standards\).*</title>"
#Find pattern in file
grep -Eo "$PATTERN" "$FILE" |
#Remove tag
sed 's/<[^>]*>//g' | \
#Remove '(automake)'
- sed 's/(automake)//g' | \
+ sed 's/(GNU Coding Standards)//g' | \
#Remove trailing space
sed 's/[ ]*$//g' | \
#Replace '&amp' with '&'