1#!/bin/bash 2# 3# Returns the SAWS published PETSc stack one function per line 4# 5which jshon > /dev/null 6if [ $? != 0 ] ; then 7 echo "You must install jshon before using this app" 8 exit 1 9fi 10 11${PETSC_DIR}/bin/saws/getSAWs.bash PETSc/Stack | jshon -e directories -e Stack -e variables -e functions -e data 12# 13 14 15