diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-13 12:55:55 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-13 12:55:55 +0200 |
commit | 6e1d0b1f334b8e2b57309cd3ee0c4c0ee2511f75 (patch) | |
tree | 53a2aa6bf42251b57813f6f0753d0839b8e2684e /bin/extra | |
parent | 3edcea302050baacb1b4ca0c042f9c2680a46386 (diff) |
checkpoint
Diffstat (limited to 'bin/extra')
-rwxr-xr-x | bin/extra/notes_index | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/extra/notes_index b/bin/extra/notes_index index 9ccb3b2..da5c6cf 100755 --- a/bin/extra/notes_index +++ b/bin/extra/notes_index @@ -22,7 +22,7 @@ do -printf '%f ' \ -exec grep '^# ' -m1 {} \; | sed 's/\(.\+\.md\) # \(.\+\)/- [\2](\1)/' | - sort -t '[' -k 2 >> index.md + sort -t '[' -k 2 -n >> index.md if [ "$(find . -mindepth 2 -maxdepth 2 -type f -name '*.md' | wc -l)" -gt 0 ] then |