foamToTecplot360/tecio/tecsrc/Make/tecioOptions: Added '-DENGINE', so that building...
[foam-extend-3.2.git] / bin / foamChangeCopyright
blob5ddb7c970ff88661d64cdef52789926b0ab40e03
1 #!/bin/bash
3 perl -0777 -p -i -e '
4 s!(([#%]*) *)License\n.*?\n[#%]*\n.*?\n[#%]*\n.*?\n[#%]*\n.*?\n[#%]*\n!$1License
5 $1 This file is part of foam-extend.
6 $2
7 $1 foam-extend is free software: you can redistribute it and/or modify it
8 $1 under the terms of the GNU General Public License as published by the
9 $1 Free Software Foundation, either version 3 of the License, or (at your
10 $1 option) any later version.
12 $1 foam-extend is distributed in the hope that it will be useful, but
13 $1 WITHOUT ANY WARRANTY; without even the implied warranty of
14 $1 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 $1 General Public License for more details.
17 $1 You should have received a copy of the GNU General Public License
18 $1 along with foam-extend. If not, see <http://www.gnu.org/licenses/>.
20 !s;
21 s!OpenFOAM: The Open Source CFD Toolbox$!foam-extend: Open Source CFD!m;
22 s!\| Copyright(.*?)\n!| For copyright notice see file Copyright\n!s;
23 s!\| OpenFOAM: The Open Source CFD Toolbox \|!| foam-extend: Open Source CFD |!;
24 s!\| OpenFOAM Extend Project: Open [sS]ource CFD \|!| foam-extend: Open Source CFD |!;
25 s!\| Version: [1-9].[0-9][. -][ex ][x ][t ] \|!| Version: 3.0 |!;
26 s!\| Web: http://www.OpenFOAM.org \|!| Web: http://www.extend-project.de |!;
27 s!\| Web: www.OpenFOAM.org \|!| Web: http://www.extend-project.de |!;
28 s!\| Web: www.extend-project.de \|!| Web: http://www.extend-project.de |!;
29 ' $1