mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
express size in K (rounding up)
This commit is contained in:
parent
94f582cdc0
commit
3762fc07d1
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ do_lang() {
|
|||
echo "<td>${DECCOUNT}</td>"
|
||||
|
||||
SIZE=$(ls -l $DICT | awk '{print $5}')
|
||||
echo "<td>${SIZE}</td>"
|
||||
SIZE=$(((SIZE+1024)/1024))
|
||||
echo "<td>${SIZE}K</td>"
|
||||
|
||||
echo "</tr>"
|
||||
[ -n "$DO_MD5" ] && md5sum $DICT | awk '{print $1}' > $DICT.md5
|
||||
|
|
Loading…
Reference in a new issue