Skip to content

Instantly share code, notes, and snippets.

@ableasdale
ableasdale / gist:5960481
Last active April 10, 2019 17:00
Bash Script for extracting information from ErrorLogs
#!/bin/bash
# default argument check
if [[ -z $1 ]]; then
echo Usage: ./report.sh \[MarkLogic ErrorLog File\]
echo e.g. ./report.sh ErrorLog.txt
exit 1
fi
DOC=$1