diagrams/scripts/find_diagrams.sh
author Kevin Walker <kevin@canyon23.net>
Mon, 29 Mar 2010 22:35:00 -0700
changeset 232 9a459c7f360e
parent 8 15e6335ff1d4
permissions -rwxr-xr-x
hochschild section edits
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
     1
grep -o '\\\mathfig{[0-9\. ]*}{[a-zA-z0-9\/_-]*}' $1 | sed -e 's/\\\mathfig{.*{\(.*\)/\1/' | sed -e 's/}//g' >> diagrams.list
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
     2
grep -o '\\\placefig{[0-9\. ]*}{[a-zA-z0-9\/_-]*}' $1 | sed -e 's/\\\placefig{.*{\(.*\)/\1/' | sed -e 's/}//g' >> diagrams.list
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
     3
grep -o '\\\rotatemathfig{ [0-9\.]*}{[0-9\.-]*}{[a-zA-z0-9\/_-]*}' $1 | sed -e 's/\\\rotatemathfig{.*{\(.*\)/\1/' | sed -e 's/}//g' >> diagrams.list