#!/bin/sh #This is a wrapper that must be installed in a directory pointed by your #PATH variable, /usr/local/bin is probably a good choice. #Don't forget to make it executable: chmod +x viewsl #Also check PATH_TO_SEISGRAM_JAR below: PATH_TO_SEISGRAM_JAR=/usr/local/bin/SeisGram2K51.jar java -jar $PATH_TO_SEISGRAM_JAR -seedlink `cat $1` -commands.onread rmean