mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
express size in K (rounding up)
This commit is contained in:
parent
7ccacdc26d
commit
332767105c
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ do_lang() {
|
||||||
echo "<td>${DECCOUNT}</td>"
|
echo "<td>${DECCOUNT}</td>"
|
||||||
|
|
||||||
SIZE=$(ls -l $DICT | awk '{print $5}')
|
SIZE=$(ls -l $DICT | awk '{print $5}')
|
||||||
echo "<td>${SIZE}</td>"
|
SIZE=$(((SIZE+1024)/1024))
|
||||||
|
echo "<td>${SIZE}K</td>"
|
||||||
|
|
||||||
echo "</tr>"
|
echo "</tr>"
|
||||||
[ -n "$DO_MD5" ] && md5sum $DICT | awk '{print $1}' > $DICT.md5
|
[ -n "$DO_MD5" ] && md5sum $DICT | awk '{print $1}' > $DICT.md5
|
||||||
|
|
Loading…
Add table
Reference in a new issue