#!/bin/sh
#
# Show the actual contents of a text file. See cat(1).
#

RCS_ID='$Id: nsq-see,v 1.1 1998/05/29 20:34:44 carlos Exp $'

my_name=$(basename $0)

while [ $# -ge 1 ] ; do
  case $1 in
    -h*) cat <<_EOH_

        NoSQL operator: ${my_name}

Usage:  ${my_name}  [options]  [textfile]

Options:
    -h    Print this help info.

Prints the contents of a text file, visualizing TABS and Line-Ends.

This operator reads a text file and prints the file contents to STDOUT.
If no file is specified on the command line, then input is read from
STDIN.

$RCS_ID

            ----------------------
NoSQL RDBMS, Copyright (C) 1998 Carlo Strozzi.
This program comes with ABSOLUTELY NO WARRANTY; for details
refer to the GNU General Public License.

You should have received a copy of the GNU General Public License
along with this program;  if not, write to the Free Software
Foundation, Inc., 59 Temple Place Suite 330, Boston, MA 02111-1307
USA.
            ----------------------

_EOH_
        exit 0
        ;;
    *)     break     ;;
  esac
done

case ${1} in
  -*)
    echo "Usage: ${my_name} [options] [textfile]" >&2
    exit 1
    ;;
esac

cat -vte $1

exit $?
