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 | |
parent | ee103902c141cdc3dce565af453b589fd1fc7a82 (diff) |
Diffstat (limited to 'src')
-rw-r--r-- | src/Info.plist | 6 | ||||
-rwxr-xr-x | src/index.sh | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/Info.plist b/src/Info.plist index f94b2c9..36517aa 100644 --- a/src/Info.plist +++ b/src/Info.plist @@ -3,11 +3,11 @@ <plist version="1.0"> <dict> <key>CFBundleIdentifier</key> - <string>gnuautomake</string> + <string>gnucodingstandards</string> <key>CFBundleName</key> - <string>GNU Automake</string> + <string>GNU Coding Standards</string> <key>DocSetPlatformFamily</key> - <string>automake</string> + <string>gnustandards</string> <key>isDashDocset</key> <true/> </dict> 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 '&' |