On Jan 28 10:54, Keith Packard wrote: > This script removes advertising requirements from three different BSD licenses: > [...] Btw., git am complains about trailing whitespaces > + -e '/4. Neither the name/s/4\./3./' -i "$i" here > +done > + > +# > +# Remove advertising phrase from 1987 version > +# > + > +for i in `git grep -l 'and in all advertising materials mentioning features or use of this' | grep -v remove-advertising-clause`; do > + sed -e '/in the documentation or other materials provided with the distribution/s/distribution/distribution./' \ > + -e '/and in all advertising materials mentioning features or use of this/d' \ > + -e '/software. Neither the name of the University nor the names of its/s/software\. *//' -i "$i" > +done and here. > + > +# > +# Remove advertising phrase from 1990 version > +# > + > +for i in `git grep -l 'advertising materials, and other materials related to such' | grep -v remove-advertising-clause`; do > + sed -e '/advertising materials, and other materials related to such/s/advertising materials, and/and\/or/' -i "$i" > +done > -- > 2.25.0 Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat