aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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