Use degree instead of degree sign in weather function
authorMichael Prokop <mika@grml.org>
Tue, 17 Jul 2007 14:38:36 +0000 (16:38 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 17 Jul 2007 14:38:36 +0000 (16:38 +0200)
etc/skel/.zshrc

index 070f831..187e254 100644 (file)
                    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