commit af9a92b43b63dedb0aa814b61123e04327158c05
parent 1680ccf745dce8d8f49100d03de32a9efad5c260
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Sun, 13 Jun 2021 16:43:18 +0200
man
Diffstat:
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/man/diary.1 b/man/diary.1
@@ -178,16 +178,22 @@ environment ($LANG, see man locale), unless specified otherwise via the '--weekd
.nf
# start with weekday=3(Wed), overrule any other configuration value
diary -w3
+
# start with glibc derived weekday=1, regardless of 'weekday' in config file
LANG=de_CH diary
+
# if glibc is installed, start with glibc derived base date (weekday=0)
LANG= diary
+
# disable environment variable, default to value from config file
unset LANG
+
# start with 'weekday' default from config file, if available
diary
+
# remove config file
rm ${XDG_CONFIG_HOME:-~/.config}/diary/diary.cfg
+
# start with 'weekday' default value from source code (1=Mon)
diary
.fi
diff --git a/man/diary.1.html b/man/diary.1.html
@@ -285,16 +285,22 @@ If glibc is installed, the first weekday defaults to the locale defined in the
<pre>
# start with weekday=3(Wed), overrule any other configuration value
diary -w3
+<div class="Pp"></div>
# start with glibc derived weekday=1, regardless of 'weekday' in config file
LANG=de_CH diary
+<div class="Pp"></div>
# if glibc is installed, start with glibc derived base date (weekday=0)
LANG= diary
+<div class="Pp"></div>
# disable environment variable, default to value from config file
unset LANG
+<div class="Pp"></div>
# start with 'weekday' default from config file, if available
diary
+<div class="Pp"></div>
# remove config file
rm ${XDG_CONFIG_HOME:-~/.config}/diary/diary.cfg
+<div class="Pp"></div>
# start with 'weekday' default value from source code (1=Mon)
diary
</pre>