I am trying to write a pre commit hook script to Enforcing tag naming convention like < application>_ < project >_ < version>_ < iteration> this using a shell script can anyone guide me to a doc/link something which I can go through and can create one. I have already gone through many links but didn't work for meI am trying something like thisERROR=$SVNLOOK changed $REPO -t $REV |$EGREP ^A.+?/([a-z0-9_]+)/tags/\1-[0-9]+.[0-9]+.[0-9]+(.[0-9]+)?-(dev|rc[0-9]+|final)/.*$ |$WC -lNeed help in regex (EGREP) part so that I can create it.#!/bin/shREPO=$1REV=$2ERROR=0SVNLOOK=/usr/bin/svnlookAWK=/bin/awkGREP=/bin/grepEGREP=/bin/egrepWC=/usr/bin/wcERROR=`$SVNLOOK changed $REPO -t $REV |$EGREP -i ^A.+/tags/.+$ |$WC -l`if [ $ERROR -ne 0 ]then  ERROR=`$SVNLOOK changed $REPO -t $REV |$EGREP ^A.+?/([a-z0-9_]+)/tags/\1-[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?-(dev|rc[0-9]+|final)/.*$ |$WC -l`  if [ $ERROR -eq 0 ]  then    echo Tag isn't in the correct format 1>&2    exit 1  fiExample: FV_SSE-MAY-14_2.1.0_03Where: Application = FV Project = SSE-MAY-14 Version = 2.1.0 Iteration = 03
egrep part required for svn hook script
bash;shell