summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@scu.edu>2023-01-01 09:42:59 -0800
committerLouie Shprung <lshprung@scu.edu>2023-01-01 09:42:59 -0800
commit4ba9788e0770d45882d257cd341a81c342c8873b (patch)
tree92f396ad299620e2f200401ce43ddaa13d20b515
parent3a65d7a4d5aee16c431a26319e15b2cd03b24e4c (diff)
Look for space before trailing man categories
-rwxr-xr-xsrc/index.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.sh b/src/index.sh
index 95f39a8..a2a52d0 100755
--- a/src/index.sh
+++ b/src/index.sh
@@ -17,7 +17,7 @@ get_title() {
#Remove trailing space
sed 's/[ ]*$//g' | \
#Remove trailing man categories
- sed 's/[0-9][mx]\?$//g' | \
+ sed 's/ [0-9][mx]\?$//g' | \
#Replace '&amp' with '&'
sed 's/&amp/&/g' | \
# ReplACE '&ndash;' with '-'