SHARE
TWEET

Untitled

a guest Feb 7th, 2013 10 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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