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