aboutsummaryrefslogtreecommitdiff
path: root/gen
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-22 23:41:30 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-22 23:41:30 +0200
commit99631eeba8646ccd09900ae511ae8c40df34ea23 (patch)
tree3bf35847f8d93de7b3182440e9f23bd576bd48c0 /gen
parent291803b886fdbe2ff49dd248c19f38b3d7b68524 (diff)
Add disclaimer
Diffstat (limited to 'gen')
-rwxr-xr-xgen/string/scale5
1 files changed, 5 insertions, 0 deletions
diff --git a/gen/string/scale b/gen/string/scale
index 0455447..df8e53a 100755
--- a/gen/string/scale
+++ b/gen/string/scale
@@ -3,6 +3,11 @@
# Usage: scale -v utf=X -v mapping=X [-v az=X] [-v lt=X]
# Example: scale -v utf=8 -v mapping=title -v lt=1
+# NOTE: Titlecasing is a combination of titlecasing the first rune in a word,
+# and lowercasing all the other runes in the word. This means that for
+# the titlecase scale factor, you actually need MAX(TS, LS) where TS is
+# the titlecase scale factor and LS is the lowercase scale factor.
+
set -e
cd "${0%/*}/../.."