about summary refs log tree commit diff stats
path: root/common/files/init
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-02 14:59:16 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-02 14:59:16 +0200
commitdaabd7681c082f944b0a20599f72a6793a7bc9eb (patch)
treeb6034dad86af77b078dbdb5f38b596f2b4d363ad /common/files/init
parentchore(version): v0.6.1 (diff)
downloadflake-templates-daabd7681c082f944b0a20599f72a6793a7bc9eb.tar.gz
flake-templates-daabd7681c082f944b0a20599f72a6793a7bc9eb.zip
fix(common/files/init): Correctly add the man page chapter after name
Diffstat (limited to '')
-rwxr-xr-xcommon/files/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/files/init b/common/files/init
index e7414d6..b9b4f80 100755
--- a/common/files/init
+++ b/common/files/init
@@ -50,8 +50,8 @@ git init
 
 # necessary meta data
 prompt APPLICATION_NAME "The name of the application" "$(basename "$PWD")"
-prompt APPLICATION_NAME_STYLIZED "The stylized name of the application (for documentation)" "$(echo "$APPLICATION_NAME" | sed 's/\([a-z]\)/\u\1/')"
-prompt APPLICATION_NAME_CAPITALIZED_MAN_PART "The capitalized name of the application (for documentation also with a man section part)" "$(echo "$APPLICATION_NAME" | sed 's/\([a-z]\)/\U\1(1)/')" "dont_ask"
+prompt APPLICATION_NAME_STYLIZED "The stylized name of the application (for documentation)" "$(echo "$APPLICATION_NAME" | sed 's/\([a-z]*\)/\u\1/')"
+prompt APPLICATION_NAME_CAPITALIZED_MAN_PART "The capitalized name of the application (for documentation also with a man section part)" "$(echo "$APPLICATION_NAME" | sed 's/\([a-z]*\)/\U\1(1)/')" "dont_ask"
 prompt APPLICATION_VERSION "The version of this program, without the prefix" "0.1.0"
 
 prompt AUTHOR_NAME "The name of the author (or authors)" "$(git config --get user.name)"