#!/bin/bash

# This script gives information about a file.
# This script analyzes ping output file

FILENAME="$1"

if [ $# -ne 1 ] ; then
  FILENAME="ping1.out"
fi

if [ -e $FILENAME ] ; then
  awk -f getPingStats.awk $FILENAME 
else
  echo "File does not exist."
fi

