diff options
author | Louie Shprung <lshprung@scu.edu> | 2023-01-02 10:41:37 -0800 |
---|---|---|
committer | Louie Shprung <lshprung@scu.edu> | 2023-01-02 10:41:37 -0800 |
commit | d13b284794b915d81d7faccc6e04c002b5882ffb (patch) | |
tree | a1edcbcd550d56e61068a585665c338c2fc59971 /src/index.sh | |
parent | ee103902c141cdc3dce565af453b589fd1fc7a82 (diff) |
Diffstat (limited to 'src/index.sh')
-rwxr-xr-x | src/index.sh | 4 |
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 '&' with '&' |