#!/bin/ksh

# FileSize.sh
# 2003-10-21
# Chieh Cheng
# http://www.CynosureX.com/

# GNU General Public License (GPL), Version 2, June 1991

# Output the file size

scriptname=`echo $0 | sed s/\\\\/.*\\\\///g`

if [ $# -ne 1 ]
then
  echo "  Usage:   $scriptname \"file path\""
  exit
fi

fileName="$1"

if [ -a "$fileName" ]
then
  ls -dl "$fileName" | Token.sh 5
else
  echo "${fileName} does not exist!"
fi
