maketut.sed 470 B

12345678
  1. # run on single_tut.txt which is created in maketutorial.sh (or .bat)
  2. # replace image links as we don't copy the images into example folders but keep them below media folder
  3. # most images should be in media
  4. s/img src="/img src="..\/..\/media\//g
  5. # ???shots.jpg files are in media/example_screenshots another subfolder (earlier replacement already moved them to ../../media/)
  6. s/img src="..\/..\/media\/\([0-9]\{3\}shot\)/img src="..\/..\/media\/example_screenshots\/\1/