From ad3c86c246015ba1796f1e8555ef9df1af43d93f Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 19 Oct 2008 19:23:10 +0200 Subject: [PATCH] Print file sizes in directory listings. --- www/distfiles/index.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/www/distfiles/index.sh b/www/distfiles/index.sh index 22312ff..6f6161b 100644 --- a/www/distfiles/index.sh +++ b/www/distfiles/index.sh @@ -7,6 +7,12 @@ cat << EOF Herrie - distfiles +

Tarballs - bzip2

@@ -15,7 +21,7 @@ EOF for i in `ls -t herrie-*.bz2` do - printf '\t\t\t
  • %s
  • \n' $i $i + stat -f "
  • %N (%z bytes)
  • " $i done cat << EOF @@ -27,7 +33,7 @@ EOF for i in `ls -t herrie-*.gz` do - printf '\t\t\t
  • %s
  • \n' $i $i + stat -f "
  • %N (%z bytes)
  • " $i done cat << EOF -- 2.11.4.GIT