]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
remove old function
authormkrzewic <mikolaj.krzewicki@cern.ch>
Tue, 9 Dec 2014 12:58:31 +0000 (13:58 +0100)
committermkrzewic <mikolaj.krzewicki@cern.ch>
Tue, 9 Dec 2014 13:07:40 +0000 (14:07 +0100)
PWGPP/scripts/utilities.sh

index 12c35a67ed38ecb644b2398d8f5890364b65d1b2..35d519d128c1eff5201784858683c9837983044b 100755 (executable)
@@ -177,20 +177,6 @@ setYear()
   return 0
 }
 
-guessYear()
-{
-  #guess the year from the path, pick the rightmost one
-  local IFS="/"
-  declare -a pathArray=( ${1} )
-  local field
-  local year
-  for field in ${pathArray[@]}; do
-    [[ ${field} =~ ^20[0-9][0-9]$ ]] && year=${field}
-  done
-  echo ${year}
-  return 0
-}
-
 run2year()
 {
   #for a given run print the year.