From 8be7ccbbf602c30c453d03ce75c31722edb53dbd Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 5 Jun 2018 18:52:20 +0300 Subject: Add patterns for xhtml files into copyright script --- copyright | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/copyright b/copyright index 7bcb308..14e439e 100755 --- a/copyright +++ b/copyright @@ -71,13 +71,21 @@ for f in "${files[@]}"; do info "processing $f" - sed -i -re "s/(Copyright \(c\) [0-9]+)-$old (Code Synthesis)/\1-$new \2/" "$f" + sed -i \ + -re "s%(Copyright \(c\) [0-9]+)-$old (Code Synthesis)%\1-$new \2%" \ + -re "s%(© [0-9]+)-$old (Code Synthesis)%\1-$new \2%" \ + -re "s%(© [0-9]+)-$old (