#!/bin/bash LOGFILE=${1:-} if [ -z ${LOGFILE} ]; then echo "Usage: arb_catlog LOGFILE" echo "cats content of logfile to standard output" else echo "---------------------------------------- [start $LOGFILE]" cat ${LOGFILE} echo "---------------------------------------- [end $LOGFILE]" fi