#!/bin/bash

#-----------------------------------------------------------
# $Id: unlock.sh 138 2010-05-12 17:34:01Z rosiere $
#-----------------------------------------------------------

#-----[ unlock_usage ]--------------------------------------
function unlock_usage ()
{
    echo "Usage     : ${0} file";

    exit;
}

#-----[ unlock ]--------------------------------------------
function unlock ()
{
    if test ${#} -ne 1; then
	unlock_usage ${*};
    fi;

    rm -f ${1};
}

#-----[ Corps ]---------------------------------------------
unlock ${*}
