File: putcdftool4.ksh

package info (click to toggle)
cdftools 4.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,948 kB
  • sloc: f90: 43,175; makefile: 457; sh: 96; ada: 22
file content (12 lines) | stat: -rwxr-xr-x 282 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/ksh


mkdir -p MODIFIED

for file in *.?90 ; do 
cat $file | sed -e '/History/ a\
\ \ !!         :  4.0  : 03/2017  : J.M. Molines  ' -e '/CDFTOOLS_3.0/ c\
\ \ !! CDFTOOLS_4.0 , MEOM 2017 ' -e '/Copyright/ c\
\ \ !! Copyright (c) 2017, J.-M. Molines ' > MODIFIED/$file

done