source: trunk/SH/arb_catlog

Last change on this file was 18927, checked in by westram, 3 years ago
  • add 'arb_catlog' (cat file to stdout wrapped in delimiter lines).
  • Property svn:executable set to *
File size: 310 bytes
Line 
1#!/bin/bash
2
3LOGFILE=${1:-}
4
5if [ -z ${LOGFILE} ]; then
6    echo "Usage: arb_catlog LOGFILE"
7    echo "cats content of logfile to standard output"
8else
9    echo "---------------------------------------- [start $LOGFILE]"
10    cat ${LOGFILE}
11    echo "---------------------------------------- [end $LOGFILE]"
12fi
Note: See TracBrowser for help on using the repository browser.