echo "bash gri.sh 2018 04 12 This bash script runs some example script that is in the Debian 9.3 main software repository."; PACKAGE2="gri"; OUT2="Computer"; PATH2="usr/share/doc/gri/examples"; cd; mkdir -p ${OUT2}/${PATH2} echo " ${OUT2}/${PACKAGE2}.htm    Debian 9.3. Package ${PACKAGE2}.

" >> ${OUT2}/${PACKAGE2}.htm FILE2="example1"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cp /${PATH2}/example1.dat ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example2"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example3"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example4"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example5"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cp /${PATH2}/example5.dat ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example6"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cp /${PATH2}/example6image.dat.gz ${OUT2}/${PATH2}/; cp /${PATH2}/example6mask.dat.gz ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example7"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cp /${PATH2}/example7a.dat ${OUT2}/${PATH2}/; cp /${PATH2}/example7b.dat.gz ${OUT2}/${PATH2}/; cp /${PATH2}/example7c.dat ${OUT2}/${PATH2}/; cp /${PATH2}/example7d.dat ${OUT2}/${PATH2}/; cp /${PATH2}/example7e.dat ${OUT2}/${PATH2}/; cp /${PATH2}/example7f.dat ${OUT2}/${PATH2}/; cp /${PATH2}/example7g.dat ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example8"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cp /${PATH2}/example8a.dat.gz ${OUT2}/${PATH2}/; cp /${PATH2}/example8b.dat ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example9"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cp /${PATH2}/example9a.dat.gz ${OUT2}/${PATH2}/; cp /${PATH2}/example9b.dat ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example10"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cp /${PATH2}/example10.dat.gz ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example10color"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example11"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cp /${PATH2}/example11.dat.gz ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example12"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cp /${PATH2}/example12.dat ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="example13"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cp /${PATH2}/example13.dat ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; FILE2="FEM"; cd; cp /${PATH2}/${FILE2}.gri ${OUT2}/${PATH2}/; cp /${PATH2}/${FILE2}.pl ${OUT2}/${PATH2}/; cp /${PATH2}/model.nodes ${OUT2}/${PATH2}/; cp /${PATH2}/model.elements ${OUT2}/${PATH2}/; cd ${OUT2}/${PATH2}/ gri -y /${PATH2}/${FILE2}.gri; cd; echo "
/${PATH2}/${FILE2}    .gri   .ps" >> ${OUT2}/${PACKAGE2}.htm; cd; cp /etc/debian_version ${OUT2} echo "
debian version    version" >> ${OUT2}/${PACKAGE2}.htm; gri -v > ${OUT2}/${PATH2}/version.txt dpkg -L ${PACKAGE2} > ${OUT2}/${PATH2}/installed.txt man ${PACKAGE2} > ${OUT2}/${PATH2}/manual.txt echo "
${PACKAGE2}    manual    installed files    version" >> ${OUT2}/${PACKAGE2}.htm; cp ${PACKAGE2}.sh ${OUT2}/${PATH2} echo "
The script that created this. ${PACKAGE2}.sh" >> ${OUT2}/${PACKAGE2}.htm; echo "" >> ${OUT2}/${PACKAGE2}.htm; echo; echo "${PACKAGE2} end.";