#!/bin/sh # Initial definition. Will leave the .ocp file in the local directory. ( otp2ocp `basename "$1" .ocp` || exit 1 ) 1>&2 </dev/null echo `basename "$1" .ocp`.ocp