SHARE
TWEET

Untitled

a guest Feb 7th, 2013 8 Never
  1. sed -n '/<tileset\s\+firstgid="1"/ {
  2. s/\(<tileset\s\+firstgid="1"\).*/\1/p
  3. r /Resources/maps_sideScrolling/tileProperties.tmx
  4. :loop
  5. n
  6. s/.*<layer name="background".*/&/p
  7. t
  8. b loop }' ~/Resources/maps_sideScrolling/*.tmx;
RAW Paste Data
Top