#!/bin/bash if [ $# -eq 0 ] ; then echo "Usage: $0 " exit 1 fi port=${FUSEKI3_PORT:-8383} # The following line helps with runing a she-bang line of: # '#!/usr/bin/env ruby' # when the current script has been run from Perl under Cygwin # export PATH=/usr/bin:$PATH s-query --service http://localhost:$port/fuseki3/greenstone/query "$*"