File: update_header_dates.sh

package info (click to toggle)
openms 2.6.0%2Bcleaned1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 783,168 kB
  • sloc: cpp: 526,888; xml: 142,287; ansic: 54,252; python: 11,640; php: 2,454; sh: 1,137; ruby: 529; yacc: 403; perl: 85; lex: 74; makefile: 61
file content (3 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (3)
1
2
3
#find . -type f | xargs sed -i 's/and Freie Universitaet Berlin 2002-2020/and Freie Universitaet Berlin 2002-2020/g'
## For all files and on MacOS: 
LC_ALL=C find . -type f ! -path "./.git/*" -exec grep -q "Freie Universitaet Berlin 2002-20" {} \; -exec sed -i '' -e 's/and Freie Universitaet Berlin 2002-2020/and Freie Universitaet Berlin 2002-2020/g' {} \;