* temp_f, temp_c: use degree character

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-08-02 21:46:17 -04:00
commit 7297b18e93
3 changed files with 4 additions and 3 deletions

View file

@ -29,6 +29,6 @@ fi
for i in `ls "$DIR/"*"/temperature"`; do
t=$(sed "s/^[^0-9]\+//" "$i" | sed "s/\s.*$//")
printf "\005{=b kY}%s\005{-}\005{= kY}C\005{-} " "$t"
printf "\005{=b kY}%s\005{-}\005{= kY}\260C\005{-} " "$t"
break
done

View file

@ -25,6 +25,6 @@ fi
for i in `ls "$DIR/"*"/temperature"`; do
t=$(sed "s/^[^0-9]\+//" "$i" | sed "s/\s.*$//" | awk '{printf "%.0f", $1 *9/5 + 32}')
printf "\005{=b kY}%s\005{-}\005{= kY}F\005{-} " "$t"
printf "\005{=b kY}%s\005{-}\005{= kY}\260F\005{-} " "$t"
break
done

3
debian/changelog vendored
View file

@ -2,9 +2,10 @@ byobu (2.25) unreleased; urgency=low
* hostname, ip_address, mem_available: make sure statusrc exists
before sourcing it, LP: #407478
* temp_f, temp_c: use degree character
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 02 Aug 2009 09:54:39 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 02 Aug 2009 21:45:56 -0400
byobu (2.24-0ubuntu1) karmic; urgency=low