sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 7750] gaze size always prints a size of 0
- From: bugzilla-daemon AT metalab.unc.edu
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 7750] gaze size always prints a size of 0
- Date: Sun, 5 Dec 2004 14:26:03 -0500
http://bugs.sourcemage.org/show_bug.cgi?id=7750
acedit AT armory.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sm-sorcery-
| |bugs AT lists.ibiblio.org
AssignedTo|sm-sorcery- |acedit AT armory.com
|bugs AT lists.ibiblio.org |
------- Additional Comments From acedit AT armory.com 2004-12-05 14:25 -------
The problem is the code does a ls -lgd and then sum's up field 5, for some
reason the columns on one machine differ from another apparently because on my
system field 4 is the number of bytes. Its much easier to use du for this
purpose anyways since field 1 is always the size.
proposed code:
while read line ; do test -f $line && du -b $line; done < $install_log |awk
'{x += $1 } END {print x " bytes in " NR " files."}'
I'll go ahead and patch this in 1.12 and if it works for a number of people
i'll
cherrypick the change into test.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.
-
[SM-Sorcery-Bugs] [Bug 7750] gaze size always prints a size of 0,
bugzilla-daemon, 12/04/2004
- <Possible follow-up(s)>
- [SM-Sorcery-Bugs] [Bug 7750] gaze size always prints a size of 0, bugzilla-daemon, 12/05/2004
- [SM-Sorcery-Bugs] [Bug 7750] gaze size always prints a size of 0, bugzilla-daemon, 12/05/2004
- [SM-Sorcery-Bugs] [Bug 7750] gaze size always prints a size of 0, bugzilla-daemon, 12/05/2004
- [SM-Sorcery-Bugs] [Bug 7750] gaze size always prints a size of 0, bugzilla-daemon, 12/07/2004
Archive powered by MHonArc 2.6.24.