summaryrefslogtreecommitdiff
path: root/bin/journeuf
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2026-03-09 17:20:22 +0100
committerMarc Vertes <mvertes@free.fr>2026-03-09 17:20:22 +0100
commitfcfa44a20660dbd9dbd23dc5d2eb0bf3310b827d (patch)
tree10a0553dc90c23860057c3188a0090ad3dabd08e /bin/journeuf
parentfd6b3c227d160d79f0fb9995e66d16dc836432ab (diff)
add mdtf command to format markdown tables
Diffstat (limited to 'bin/journeuf')
-rwxr-xr-xbin/journeuf4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/journeuf b/bin/journeuf
index 5354dea..3586445 100755
--- a/bin/journeuf
+++ b/bin/journeuf
@@ -8,8 +8,8 @@ js=$(LC_TIME=fr_FR.UTF-8 date +%A | awk '{print toupper(substr($0,1,1)) substr($
ms=$(LC_TIME=fr_FR.UTF-8 date +%B | awk '{print toupper(substr($0,1,1)) substr($0,2)}')
file=$(echo "Journal${ms}$an" | noaccent)
if [ -f tags ]; then
- tagline="${an}_${mois}_${jour} $file /$js $((0+jour))"
+ tagline="${an}_${mois}_${jour} $file /$js ${jour#0}"
echo "$tagline" >> tags
LC_ALL=C sort -o tags -u tags
fi
-echo "$js $((0+jour))"
+echo "$js ${jour#0}"