Re: on license variability


dmg
 

Posix regular expressions. Yes, (s)? means that sometimes the s is not there.

On Thu, Sep 16, 2010 at 11:47 AM, <kate.stewart@...> wrote:
The ? notation in the template,  does it mean that what preceeds in brackets is optional.   ie. (s)?  means that the s could or could not appear?

Kate

--- On Thu, 9/16/10, D M German <dmg@...> wrote:

From: D M German <dmg@...>
Subject: on license variability
To: spdx@...
Date: Thursday, September 16, 2010, 1:13 PM

First, some common equivalent words/phrases:

----------------------------------------------------------------------
license|licence
distributable|licensed|released|made available
can|may
terms and conditions|terms
library|program|software
developed|written
MERCHANTIBILITY|MERCHANTABILITY
is|are
do not|don<quotes>t
the copyright|that copyright
would|will
IN THE SOFTWARE
WITH THE SOFTWARE
deal in|deal with
----------------------------------------------------------------------
The quotes are also very different in different files:

quotes can be ``, '', ", '

----------------------------------------------------------------------
Finally, this is a subset of the way Ninka recognizes the
BSD3
clauses. I believe this will cover most versions. The
numbers preceding
the conditions are sometimes not there (Ninka drops them,
or any bullets
before it continues with the processing).


Copyright (c) <field1>
All rights reserved\.

Redistribution and use in source and binary forms, with or
without
modification, are permitted provided that the following
conditions are
met:

1\. Redistributions? of source code must retain the (above
)?copyright
notice, this list of conditions(,)? and the following
disclaimer(,
without modification)?.

2\. Redistributions in binary form must reproduce the above
copyright
notice(\(s\))?, this list of conditions(,)? and the
following
disclaimer(s)? in the documentation and/or other materials
provided
with the distribution\.

3\. Neither the name(s)? of <field2> may be used to
endorse or promote
products derived from this software without (specific
)?prior written
permission:

THIS SOFTWARE IS PROVIDED BY <field3><quotes>AS
IS<quotes> AND ANY
EXPRESS(ED)? OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANT(A|I)BILITY AND FITNESS FOR A
PARTICULAR
PURPOSE ARE DISCLAIMED\.  IN NO EVENT SHALL
<field4> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL
DAMAGES \(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE
GOODS OR SERVICES; LOSS OF (MIND, )?USE, DATA,( LIFE)? OR
PROFITS; OR
BUSINESS INTERRUPTION\) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT \(INCLUDING
NEGLIGENCE
OR OTHERWISE\) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE\.
----------------------------------------------------------------------


--
--
Daniel M. German

http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .
_______________________________________________
Spdx mailing list
Spdx@...
https://fossbazaar.org/mailman/listinfo/spdx
--
--dmg

---
Daniel M. German
http://turingmachine.org

Join spdx@lists.spdx.org to automatically receive all group messages.