[Bug 108497] The sysinfo script in Konvesation in Feisty does not display the diskspace anymore

hyper_ch bugs.launchpad.net at roleplayer.org
Sat Apr 21 11:21:37 UTC 2007


Public bug reported:

The sysinfo script in Konversation (running it within Konvi with
/sysinfo) does not show the the diskspace (used and total) anymore.

The script, located at /usr/share/apps/konversation/scripts/sysinfo can
be fixed with various ways:

(1) install gawk

or better

(2)

Changing the part from:

HDD=$(df -l| awk '($1~/dev/){
  use+=$3/1024**2;
  tot+=$2/1024**2;
 }
 END{print "HD: " int(use) "/" int(tot) "GB"}')

to

HDD=$(df -l| awk '($1~/dev/){
  use+=$3/1024^2;
  tot+=$2/1024^2;
 }
 END{print "HD: " int(use) "/" int(tot) "GB"}')

The upstream of konversation has already applied the second option by
using POSIX power of '^' instead of "**".

** Affects: konversation (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
The sysinfo script in Konvesation in Feisty does not display the diskspace anymore
https://bugs.launchpad.net/bugs/108497
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for konversation in ubuntu.




More information about the kubuntu-bugs mailing list