[BACK]Return to copyright.sh CVS log [TXT][DIR] Up to [local] / web

Diff for /web/copyright.sh between version 1.1 and 1.2

version 1.1, 2018/06/02 13:17:19 version 1.2, 2018/11/25 01:05:29
Line 8  if [ -z "$1" ]; then
Line 8  if [ -z "$1" ]; then
 fi  fi
   
 year=`date +"%Y"`  year=`date +"%Y"`
 (rm $1; sed -e "s/Copyright \&#169; 2015\&#8211;[0-9]*/Copyright \&#169; 2015\&#8211;$year/g" > $1) < $1  sed -i -e "s/Copyright \&#169; 2015\&#8211;[0-9]*/Copyright \&#169; 2015\&#8211;$year/g" $1
   
 exit 0  exit 0

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2