File: update_copyright.sh

package info (click to toggle)
getdp 3.0.4%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,856 kB
  • sloc: cpp: 63,020; fortran: 13,955; yacc: 9,350; f90: 1,640; lex: 799; makefile: 55; ansic: 34; awk: 33; sh: 23
file content (13 lines) | stat: -rwxr-xr-x 277 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -

files=`git grep -l '(C) 1997-2017 P. Dular'`

for file in $files; do
  echo "modifying $file"
  sed -i '' -e "s/(C) 1997-2017 P\. Dular/(C) 1997-2018 P\. Dular/g" $file
done

# Need to manually change:
#   CREDITS.txt
#   doc/texinfo/getdp.texi
#   doc/getdp.html