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 | |
---|
3 | LOGFILE=${1:-} |
---|
4 | |
---|
5 | if [ -z ${LOGFILE} ]; then |
---|
6 | echo "Usage: arb_catlog LOGFILE" |
---|
7 | echo "cats content of logfile to standard output" |
---|
8 | else |
---|
9 | echo "---------------------------------------- [start $LOGFILE]" |
---|
10 | cat ${LOGFILE} |
---|
11 | echo "---------------------------------------- [end $LOGFILE]" |
---|
12 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.