1 2 3 4 5 6
#! /bin/sh curl -X GET $OSM_API/$1/$2/history |\ tee /tmp/osm &&\ echo &&\ echo "\n" history of $1 $2 are copied into /tmp/osm > /dev/tty