Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 7th, 2013  |  syntax: None  |  size: 0.22 KB  |  views: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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;
clone this paste RAW Paste Data