Skip to content
Snippets Groups Projects
Commit b209cd2c authored by Fabio Hernandez's avatar Fabio Hernandez
Browse files

Add some debugging

parent 3a146f5b
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,10 @@ function usage() {
echo "Usage: ${name} <pattern> <input file> <output file> "
}
# Debugging
echo "Number of arguments: $#"
echo "Arguments: $*"
# Parse command line
pattern=$1
inputFile=$2
......@@ -19,7 +23,6 @@ if [[ -z ${pattern} || -z ${inputFile} || -z ${outputFile} ]]; then
exit 1
fi
echo "Arguments: $*"
echo "Execution hostname: $(hostname -f)"
echo "Working directory: $(pwd)"
echo "Contents of working directory before execution:"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment