#!/bin/bash
cat graphs.tex | sed 's/\\includegraphics\[width=\\textwidth\]{\.\/google\/.*}/\L&/g' > graphs2.tex
cat graphs.tex | sed 's/\(\\includegraphics\[width=\\textwidth\]{\.\/google\/\)\(.*\)\(-\)\(.*\)\(.jpg\}\)/\1\2HALLO\4\5/g' | sed 's/\(\\includegraphics\[width=\\textwidth\]{\.\/google\/\)\(.*\)\(_\)\(.*\)\(.jpg\}\)/\1\2HALLO\4\5/g' | sed 's/\(\\includegraphics\[width=\\textwidth\]{\.\/google\/\)\(.*\)\(_\)\(.*\)\(.jpg\}\)/\1\2HALLO\4\5/g' | sed 's/\(\\includegraphics\[width=\\textwidth\]{\.\/google\/\)\(.*\)\(-\)\(.*\)\(.jpg\}\)/\1\2HALLO\4\5/g' | sed 's/\(\\includegraphics\[width=\\textwidth\]{\.\/google\/\)\(.*\)\(_\)\(.*\)\(.jpg\}\)/\1\2HALLO\4\5/g' | sed 's/\(\\includegraphics\[width=\\textwidth\]{\.\/google\/\)\(.*\)\(.jpg\}\)/\L&/g' > graphs3.tex