projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f75698
)
Sort the directories.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 16 Mar 2010 21:50:48 +0000
(22:50 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 16 Mar 2010 21:50:48 +0000
(22:50 +0100)
dirtohtml.sh
patch
|
blob
|
history
diff --git
a/dirtohtml.sh
b/dirtohtml.sh
index
fe6532f
..
82fc1ba
100755
(executable)
--- a/
dirtohtml.sh
+++ b/
dirtohtml.sh
@@
-47,7
+47,7
@@
echo
echo "<pre>"
-for d in $(find . -maxdepth 1 -type d -name "[^.]?*"); do
+for d in $(find . -maxdepth 1 -type d -name "[^.]?*"
| sort
); do
echo "<a href=\"${d}\">${d}</a>"
# most_recent=$(find ${d} -type f -exec stat --printf="%Y %n\n" '{}' \; | sort | tail -1 | awk '{print $4}')