about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-02 14:59:57 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-02 14:59:57 +0200
commit073c60b29ee025c6f735e5862ade079c37e5eec5 (patch)
treee4f0bbc360b7fa537b85078dfdcfa2091e2ec713
parentfix(common/files/init): Correctly add the man page chapter after name (diff)
downloadflake-templates-073c60b29ee025c6f735e5862ade079c37e5eec5.tar.gz
flake-templates-073c60b29ee025c6f735e5862ade079c37e5eec5.zip
chore(version): v0.6.2
Diffstat (limited to '')
-rw-r--r--NEWS.md6
-rwxr-xr-xtemplates/awk/init4
-rwxr-xr-xtemplates/c/init4
-rwxr-xr-xtemplates/latex/init4
-rwxr-xr-xtemplates/rust/init4
-rwxr-xr-xtemplates/shell/init4
6 files changed, 16 insertions, 10 deletions
diff --git a/NEWS.md b/NEWS.md
index a61b1da..50ec250 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -2,6 +2,12 @@
 All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
 
 - - -
+## [v0.6.2](https://codeberg.org/soispha/flake-templates/compare/daabd7681c082f944b0a20599f72a6793a7bc9eb..v0.6.2) - 2024-04-02
+#### Bug Fixes
+- **(common/files/init)** Correctly add the man page chapter after name - ([daabd76](https://codeberg.org/soispha/flake-templates/commit/daabd7681c082f944b0a20599f72a6793a7bc9eb)) - [@bpeetz](https://codeberg.org/bpeetz)
+
+- - -
+
 ## [v0.6.1](https://codeberg.org/soispha/flake-templates/compare/69c3dcc9d2bd5b506b44f2837e5be25e76b4e7c9..v0.6.1) - 2024-04-02
 #### Bug Fixes
 - **(common/files/.licensure.yml)** Correct typos for init variables - ([69c3dcc](https://codeberg.org/soispha/flake-templates/commit/69c3dcc9d2bd5b506b44f2837e5be25e76b4e7c9)) - [@bpeetz](https://codeberg.org/bpeetz)
diff --git a/templates/awk/init b/templates/awk/init
index e7414d6..b9b4f80 100755
--- a/templates/awk/init
+++ b/templates/awk/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)"
diff --git a/templates/c/init b/templates/c/init
index e7414d6..b9b4f80 100755
--- a/templates/c/init
+++ b/templates/c/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)"
diff --git a/templates/latex/init b/templates/latex/init
index e7414d6..b9b4f80 100755
--- a/templates/latex/init
+++ b/templates/latex/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)"
diff --git a/templates/rust/init b/templates/rust/init
index e7414d6..b9b4f80 100755
--- a/templates/rust/init
+++ b/templates/rust/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)"
diff --git a/templates/shell/init b/templates/shell/init
index e7414d6..b9b4f80 100755
--- a/templates/shell/init
+++ b/templates/shell/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)"