operation="${1:-${osm_track_event_name}}"
shift 1
value="${1:-}"
+ value="${value// /_}"
shift 1
comment="${1:-}"
- shift 1
comment="${comment// /_}"
- tags="${1:-}"
shift 1
+ tags="${1:-}"
tags="${tags//,/\~}"
+ shift 1
[ "$value" == "none" ] && value=""
[ "$comment" == "none" ] && comment=""
[ "$tags" == "none" ] && tags=""