#! /bin/bash # Grab the core defs source core.sh # File routines source file.sh if [ "$#" -eq 0 ] then die "Usage: ${0##*/} filename" fi file=$1 if [ -f $file ] then file_add $file else die "Invalid file specified" fi