aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-04-20 00:19:44 +0200
committerMattias Andrée <maandree@kth.se>2016-04-20 00:19:44 +0200
commit86791f8248fb07e1551a8b970314908eb19669bc (patch)
treeba034f413829a835705cb0861bc8c3ef30108798
parentadd todo (diff)
downloadmetar-86791f8248fb07e1551a8b970314908eb19669bc.tar.gz
metar-86791f8248fb07e1551a8b970314908eb19669bc.tar.bz2
metar-86791f8248fb07e1551a8b970314908eb19669bc.tar.xz
bug fix1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rwxr-xr-xmetar2
1 files changed, 1 insertions, 1 deletions
diff --git a/metar b/metar
index 4953882..9555025 100755
--- a/metar
+++ b/metar
@@ -109,7 +109,7 @@ elif test $# = 2 && test "$1" = "set"; then
elif test $# = 1 && test "$1" = "list"; then
list_stations ""
elif test $# = 2 && test "$1" = "list"; then
- list_stations "$(echo "$2" | tr [a-z] [A-Z])"
+ list_stations "$(echo "$2" | tr '[a-z]' '[A-Z]')"
elif test $# = 1 && test "$1" = "closest"; then
location="$(get_location)"
list_stations "" | get_closest $location