Incorrect boundary condition
[foam-extend-3.2.git] / bin / foamChangeCopyright
blob8d3c7ca5d39e7d2ae1ca824bcb762d5b8af99e32
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.1 |!;
26 s!\| Version: 3.0 \|!| Version: 3.1 |!;
27 s!\| Web: http://www.OpenFOAM.org \|!| Web: http://www.extend-project.de |!;
28 s!\| Web: www.OpenFOAM.org \|!| Web: http://www.extend-project.de |!;
29 s!\| Web: www.extend-project.de \|!| Web: http://www.extend-project.de |!;
30 s!\| \\\\ / F ield \| foam-extend Project: Open source CFD \|!| \\\\ / F ield | foam-extend: Open Source CFD |!;
31 s!\| \\\\ / O peration \| Version: 3.0 \|!| \\\\ / O peration | Version: 3.1 |!;
32 s!README file for version 3.0\*!README file for version 3.1*!;
33 ' $1