Re: [PATCH 1/2] Add script to remove advertising clause from BSD-licensed software
Corinna Vinschen <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
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
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl4xYa4ACgkQ9TYGna5E T6BUMQ/+J0AM0OUywZcLqPc4sD2u5LP3NdO6z5e1FSB2Je/3KguwdEHl9H7GLJeN SZkrkQys8E3KBAXOQhRz7Otl5Q2+tHCa7EuObiGA4Ker10ET4ZTu8lNchHOuKoq5 ufG7oqmJ00jcNDF8Mf5S5rqBUlIslnqokvR8c9JqvUXMzc1GkLW8s0x+EHCzenOA SArHtp/14RE3NHjKDyD7pKGaJNeH65cemKpYrx9RmmovKSk4Jal3S80OJi0EP7Eu 4FMBfWPl0Nl13R8Wn1LENDPPnmbPvyE19XSSRsP80021LSPO6C4W5+V3uEEtOin2 xs+wirPSjlXZAcksRsAHtaHn5fnQ8qGrf2Yue8cog17O4RnS5/zhNJuF9Nso6+0i glsGKmrSxIQ5/8f3OvwzWVEdPRVpds5lxhTf6RZMNFQPFD0e4ehQhpvpOv3I+Ulp ZeEgq0vxuD3+owdog5BEChQNgV7bBaN409yutLBCogBDagglvkUcRxTC40xH5jcg w3YS1zNk0rq9XNAAnn0Mwinxb6gHJnY9DA+Xs4OUPCqSiHBIME3JvZJlzXRRDm1E kAnAdxqfHQTbT5TrMisV7wI9ShBgvoikVDN/xZZhcIxVY8EoeYk94Htaexbq/IdW gHtndtVKQeDv8I7jEPlpV6MaUiizEofWEkiMsRr2BwuzZQD6tVY= =2Y8Q -----END PGP SIGNATURE-----