From: Corinna Vinschen <vinschen@redhat.com>
To: newlib@sourceware.org
Subject: Re: [PATCH 1/2] Add script to remove advertising clause from BSD-licensed software
Date: Wed, 29 Jan 2020 10:43:00 -0000 [thread overview]
Message-ID: <20200129104254.GM3549@calimero.vinschen.de> (raw)
In-Reply-To: <20200128185453.360285-2-keithp@keithp.com>
[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2020-01-29 10:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-28 18:54 Remove advertising clauses from Berkeley and NetBSD code Keith Packard
2020-01-28 18:54 ` [PATCH 1/2] Add script to remove advertising clause from BSD-licensed software Keith Packard
2020-01-29 10:43 ` Corinna Vinschen [this message]
2020-01-28 18:55 ` [PATCH 2/2] Use remove-advertising-clause script to edit BSD licenses Keith Packard
2020-01-29 10:40 ` Corinna Vinschen
2020-01-29 16:49 ` Keith Packard
2020-01-29 18:04 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200129104254.GM3549@calimero.vinschen.de \
--to=vinschen@redhat.com \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).