Article View: pl.comp.os.linux.programowanie
Article #60737Re: dzielenie w bashu
From: lrem
Date: Sun, 27 Nov 2005 21:28
Date: Sun, 27 Nov 2005 21:28
14 lines
1461 bytes
1461 bytes
W poście <dmd81p$ag1$1@serwer.infinity.net.pl>,
Quest nabazgrał:
> Skrypt pobiera mi pewne wielkosci i zapisuje je w zmiennej $i ale sa to
> zmienne w kB a potrzebuje przy trzeciej pozycji "$((katalog+poczta))" aby
> te dane byly podane nie w kB (zsumowane owczesnie) ale w MB jak to zrobic?
Zawsze jeśli nie znajdziesz rozwiązania w bashu, możesz skorzystać z
bash calculatora (man bc)...
--
Always put off dealing with time-wasting morons.
If you would like to know how...
I'll get back to you on that.
-Dilbert quote
Technical Details
Message-ID:
<slrndok986.tmj.lrem@lrem.maxnet>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<dmd81p$ag1$1@serwer.infinity.net.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: lrem@lrem.maxnet Newsgroups: pl.comp.os.linux.programowanie Subject: Re: dzielenie w bashu Date: Sun, 27 Nov 2005 21:28:37 +0000 (UTC) Organization: tp.internet - http://www.tpi.pl/ Lines: 14 Message-ID: <slrndok986.tmj.lrem@lrem.maxnet> References: <dmd81p$ag1$1@serwer.infinity.net.pl> NNTP-Posting-Host: host-ip155-94.crowley.pl Mime-Version: 1.0 X-Trace: atlantis.news.tpi.pl 1133126917 26108 85.128.94.155 (27 Nov 2005 21:28:37 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sun, 27 Nov 2005 21:28:37 +0000 (UTC) X-Posting-License: http://ppl.7thguard.net/PPL X-Homesite: http://lrem.net/ User-Agent: slrn/0.9.8.1 (Linux) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit