summaryrefslogtreecommitdiff
path: root/src
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
parentee103902c141cdc3dce565af453b589fd1fc7a82 (diff)
Change 'automake' to 'GNU Coding Standards'
Diffstat (limited to 'src')
-rw-r--r--src/Info.plist6
-rwxr-xr-xsrc/index.sh4
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 '&amp' with '&'