projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86b1cfd
)
Use degree instead of degree sign in weather function
author
Michael Prokop
<mika@grml.org>
Tue, 17 Jul 2007 14:38:36 +0000
(16:38 +0200)
committer
Michael Prokop
<mika@grml.org>
Tue, 17 Jul 2007 14:38:36 +0000
(16:38 +0200)
etc/skel/.zshrc
patch
|
blob
|
history
diff --git
a/etc/skel/.zshrc
b/etc/skel/.zshrc
index
070f831
..
187e254
100644
(file)
--- a/
etc/skel/.zshrc
+++ b/
etc/skel/.zshrc
@@
-1088,7
+1088,7
@@
cat $FILE
else
DATE=$(grep 'UTC' $FILE | sed 's#.* /##')
- TEMPERATURE=$(awk '/Temperature/ { print $4"
° Celcius / " $2"°
Fahrenheit" }' $FILE| tr -d '(')
+ TEMPERATURE=$(awk '/Temperature/ { print $4"
degree Celcius / " $2" degree
Fahrenheit" }' $FILE| tr -d '(')
echo "date: $DATE"
echo "temp: $TEMPERATURE"
fi