diagrams/scripts/find_diagrams.sh
author scott@6e1638ff-ae45-0410-89bd-df963105f760
Tue, 01 Jul 2008 01:53:15 +0000
changeset 22 ada83e7228eb
parent 8 15e6335ff1d4
permissions -rwxr-xr-x
rearranging; stating all the "properties" up front

grep -o '\\\mathfig{[0-9\. ]*}{[a-zA-z0-9\/_-]*}' $1 | sed -e 's/\\\mathfig{.*{\(.*\)/\1/' | sed -e 's/}//g' >> diagrams.list
grep -o '\\\placefig{[0-9\. ]*}{[a-zA-z0-9\/_-]*}' $1 | sed -e 's/\\\placefig{.*{\(.*\)/\1/' | sed -e 's/}//g' >> diagrams.list
grep -o '\\\rotatemathfig{ [0-9\.]*}{[0-9\.-]*}{[a-zA-z0-9\/_-]*}' $1 | sed -e 's/\\\rotatemathfig{.*{\(.*\)/\1/' | sed -e 's/}//g' >> diagrams.list