summaryrefslogtreecommitdiff
path: root/src/index_pages.sh
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-05-09 15:35:50 -0400
committerLouie S <louie@example.com>2024-05-09 15:35:50 -0400
commita62eb755b18e2cd9fca626989d4e87d66a17633f (patch)
tree47900a591c4585fd362fd6c2bb3f769799b34b5c /src/index_pages.sh
parent1fadf93cfb8693d35d110e40a6e30e2d6d8f9134 (diff)
Strip everything following the man category as wellHEADmaster
Diffstat (limited to 'src/index_pages.sh')
-rwxr-xr-xsrc/index_pages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index_pages.sh b/src/index_pages.sh
index 030bda5..0e84740 100755
--- a/src/index_pages.sh
+++ b/src/index_pages.sh
@@ -16,7 +16,7 @@ get_title() {
pup -p -f "$FILE" 'title text{}' | \
tr -d \\n | \
#Remove trailing man categories
- sed 's/ [0-9][mx]\?$//g' | \
+ sed 's/ [0-9][mx]\?.*$//g' | \
sed 's/\"/\"\"/g'
}