#!/bin/bash mypath=$( dirname $0 ) . "$mypath/common" . "$mypath/../util/common-inv" #expected values eid=_foo ename="Large Ugly Foobar" ecount=5 # test item tag item="$ecount:$eid" # let's write a temporary item for testing itemfile="$mypath/../items/_foo" cat > $itemfile <