From 8f74c943f6e0119233ae60d3625db42a394ab95f Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Tue, 16 Mar 2010 22:50:48 +0100 Subject: [PATCH] Sort the directories. --- dirtohtml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dirtohtml.sh b/dirtohtml.sh index fe6532f..82fc1ba 100755 --- a/dirtohtml.sh +++ b/dirtohtml.sh @@ -47,7 +47,7 @@ echo echo "
"
 
-for d in $(find . -maxdepth 1 -type d -name "[^.]?*"); do
+for d in $(find . -maxdepth 1 -type d -name "[^.]?*" | sort); do
     echo "${d}"
 
     # most_recent=$(find ${d} -type f -exec stat --printf="%Y %n\n" '{}' \; | sort | tail -1 | awk '{print $4}')
-- 
2.39.5