#!/bin/bash
# @(#) dirname(1) replacement using bash(1) builtin

fillfile=$1
## replaced: dir=$(dirname $fullfile)
dir=${fullfile%/*}
echo $dir
