diff --git a/wled b/wled index 9752a5e..62eb85b 100755 --- a/wled +++ b/wled @@ -102,7 +102,7 @@ case "$2" in # Extract number and name of every preset. Right-align numbers. # Drop everything else. sed --sandbox -n \ - '/^"\(1\?[0-9]\)"[[:space:]]*:.*"n"[[:space:]]*:[[:space:]]*"\([[:print:]]*\)".*$/{ + '/^"\(1\?[0-9]\)"[[:space:]]*:.*"n"[[:space:]]*:[[:space:]]*"\([[:alnum:] _-]*\)".*$/{ s//\1: \2/ s/^[0-9]:/ &/ p