#!/bin/sh CMD="$1" shift case "${CMD}" in query) PARAM="$1" shift if [ "${PARAM}" = '-a' ] ; then cat <