From a62eb755b18e2cd9fca626989d4e87d66a17633f Mon Sep 17 00:00:00 2001 From: Louie S Date: Thu, 9 May 2024 15:35:50 -0400 Subject: Strip everything following the man category as well --- src/index_pages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' } -- cgit