aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKate Ward <kate.ward@forestent.com>2016-01-10 18:23:16 +0100
committerKate Ward <kate.ward@forestent.com>2016-01-10 18:23:16 +0100
commit6675c4345967f39671af18103d378386a7adc958 (patch)
treec4f4ec2aa8438696d286dd0d5830d8685cac3610
parent5cbacee12eb386e9d257d4c8ca16fb588cfeb15d (diff)
downloadshflags-6675c4345967f39671af18103d378386a7adc958.tar.gz
Removed copyright and obsolete license info.
-rw-r--r--bin/gen_test_results.flags7
-rwxr-xr-xbin/gen_test_results.sh7
-rw-r--r--doc/CHANGES-1.0.md8
-rw-r--r--doc/RELEASE_NOTES-1.2.0.md (renamed from doc/RELEASE_NOTES-1.0.4.md)0
-rwxr-xr-xexamples/debug_output.sh5
-rwxr-xr-xexamples/hello_world.sh5
-rwxr-xr-xexamples/write_date.sh5
-rw-r--r--lib/shlib6
-rw-r--r--src/shflags7
-rwxr-xr-xsrc/shflags_test.sh6
-rwxr-xr-xsrc/shflags_test_defines.sh6
-rw-r--r--src/shflags_test_helpers6
-rwxr-xr-xsrc/shflags_test_parsing.sh6
-rwxr-xr-xsrc/shflags_test_private.sh6
-rwxr-xr-xsrc/shflags_test_public.sh6
15 files changed, 7 insertions, 79 deletions
diff --git a/bin/gen_test_results.flags b/bin/gen_test_results.flags
index f42e2ae..4efe4c3 100644
--- a/bin/gen_test_results.flags
+++ b/bin/gen_test_results.flags
@@ -1,12 +1,5 @@
-# $Id$
# vim:et:ft=sh:sts=2:sw=2
#
-# Copyright 2011 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License)
-#
-# Author: kate.ward@forestent.com (Kate Ward)
-#
# Flag definition overrides for the gen_test_results.sh script.
-#
DEFINE_string suite 'shflags_test.sh' 'unit test suite' s
diff --git a/bin/gen_test_results.sh b/bin/gen_test_results.sh
index 79d2fd4..e738d4c 100755
--- a/bin/gen_test_results.sh
+++ b/bin/gen_test_results.sh
@@ -1,15 +1,8 @@
#! /bin/sh
-# $Id$
# vim:et:ft=sh:sts=2:sw=2
#
-# Copyright 2008 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License)
-#
-# Author: kate.ward@forestent.com (Kate Ward)
-#
# This script runs the provided unit tests and sends the output to the
# appropriate file.
-#
# treat unset variables as an error
set -u
diff --git a/doc/CHANGES-1.0.md b/doc/CHANGES-1.0.md
index dee1408..6429f99 100644
--- a/doc/CHANGES-1.0.md
+++ b/doc/CHANGES-1.0.md
@@ -1,7 +1,7 @@
-Changes in shFlags 1.0.x
-========================
+Changes in shFlags
+==================
-Changes with 1.0.4
+Changes with 1.2.0
------------------
Changed from the LGPL v2.1 license to the Apache v2.0 license so that others can
@@ -21,7 +21,7 @@ values like other flags.
Changed `_flags_fatal()` to exit with `FLAGS_ERROR` immediately.
Fixed issue #11. When help is requested, the help flag is no longer prefixed
-with [no].
+with '[no]'.
Upgraded shUnit2 to 2.1.6.
diff --git a/doc/RELEASE_NOTES-1.0.4.md b/doc/RELEASE_NOTES-1.2.0.md
index 75b7a0b..75b7a0b 100644
--- a/doc/RELEASE_NOTES-1.0.4.md
+++ b/doc/RELEASE_NOTES-1.2.0.md
diff --git a/examples/debug_output.sh b/examples/debug_output.sh
index d54635f..b3ecec2 100755
--- a/examples/debug_output.sh
+++ b/examples/debug_output.sh
@@ -1,10 +1,5 @@
#!/bin/sh
#
-# Copyright 2008 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License)
-#
-# Author: kate.ward@forestent.com (Kate Ward)
-#
# This script does the very simple job of echoing some text. If a '-d' (or
# '--debug') flag is given, additinal "debug" output is enabled.
#
diff --git a/examples/hello_world.sh b/examples/hello_world.sh
index 6fb2cb0..84b755a 100755
--- a/examples/hello_world.sh
+++ b/examples/hello_world.sh
@@ -1,10 +1,5 @@
#!/bin/sh
#
-# Copyright 2008 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License)
-#
-# Author: kate.ward@forestent.com (Kate Ward)
-#
# This is the proverbial 'Hello, world!' script to demonstrate the most basic
# functionality of shFlags.
#
diff --git a/examples/write_date.sh b/examples/write_date.sh
index 85695cf..b8e610b 100755
--- a/examples/write_date.sh
+++ b/examples/write_date.sh
@@ -1,10 +1,5 @@
#!/bin/sh
#
-# Copyright 2008 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License)
-#
-# Author: kate.ward@forestent.com (Kate Ward)
-#
# This script takes a filename as input and writes the current date to the
# file. If the file already exists, it will not be overwritten unless the '-f'
# (or '--force') flag is given.
diff --git a/lib/shlib b/lib/shlib
index d294636..0bd151d 100644
--- a/lib/shlib
+++ b/lib/shlib
@@ -1,11 +1,5 @@
-# $Id: shlib 14 2007-02-18 19:43:41Z sfsetse $
# vim:et:ft=sh:sts=2:sw=2
#
-# Copyright 2011 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License).
-#
-# Author: kate.ward@forestent.com (Kate Ward)
-#
# Library of shell functions.
# Convert a relative path into it's absolute equivalent.
diff --git a/src/shflags b/src/shflags
index f7ff77c..11d3060 100644
--- a/src/shflags
+++ b/src/shflags
@@ -1,8 +1,7 @@
-# $Id$
# vim:et:ft=sh:sts=2:sw=2
#
-# Copyright 2008 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License)
+# Copyright 2008-2016 Kate Ward. All Rights Reserved.
+# Released under the Apache License 2.0.
#
# shFlags -- Advanced command-line flag library for Unix shell scripts.
# http://code.google.com/p/shflags/
@@ -84,7 +83,7 @@
# return if FLAGS already loaded
[ -n "${FLAGS_VERSION:-}" ] && return 0
-FLAGS_VERSION='1.0.4'
+FLAGS_VERSION='1.2.0'
# return values that scripts can use
FLAGS_TRUE=0
diff --git a/src/shflags_test.sh b/src/shflags_test.sh
index 3d2c335..18ca961 100755
--- a/src/shflags_test.sh
+++ b/src/shflags_test.sh
@@ -1,12 +1,6 @@
#! /bin/sh
-# $Id$
# vim:et:ft=sh:sts=2:sw=2
#
-# Copyright 2008 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License)
-#
-# Author: kate.ward@forestent.com (Kate Ward)
-#
# shFlags unit test suite runner.
#
# This script runs all the unit tests that can be found, and generates a nice
diff --git a/src/shflags_test_defines.sh b/src/shflags_test_defines.sh
index a46b3c4..1f76c3e 100755
--- a/src/shflags_test_defines.sh
+++ b/src/shflags_test_defines.sh
@@ -1,12 +1,6 @@
#! /bin/sh
-# $Id$
# vim:et:ft=sh:sts=2:sw=2
#
-# Copyright 2008 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License)
-#
-# Author: kate.ward@forestent.com (Kate Ward)
-#
# shFlags unit test for the flag definition methods
# load test helpers
diff --git a/src/shflags_test_helpers b/src/shflags_test_helpers
index a96219e..d00f31e 100644
--- a/src/shflags_test_helpers
+++ b/src/shflags_test_helpers
@@ -1,11 +1,5 @@
-# $Id$
# vim:et:ft=sh:sts=2:sw=2
#
-# Copyright 2008 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License)
-#
-# Author: kate.ward@forestent.com (Kate Ward)
-#
# shFlags unit test common functions
__th_skipping=0
diff --git a/src/shflags_test_parsing.sh b/src/shflags_test_parsing.sh
index 664db5b..d79a042 100755
--- a/src/shflags_test_parsing.sh
+++ b/src/shflags_test_parsing.sh
@@ -1,12 +1,6 @@
#! /bin/sh
-# $Id$
# vim:et:ft=sh:sts=2:sw=2
#
-# Copyright 2008 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License)
-#
-# Author: kate.ward@forestent.com (Kate Ward)
-#
# shFlags unit test for the flag definition methods
#
# TODO(kward): assert on FLAGS errors
diff --git a/src/shflags_test_private.sh b/src/shflags_test_private.sh
index d5c6112..c252d42 100755
--- a/src/shflags_test_private.sh
+++ b/src/shflags_test_private.sh
@@ -1,12 +1,6 @@
#! /bin/sh
-# $Id$
# vim:et:ft=sh:sts=2:sw=2
#
-# Copyright 2008 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License)
-#
-# Author: kate.ward@forestent.com (Kate Ward)
-#
# shFlags unit test for the internal functions
# load test helpers
diff --git a/src/shflags_test_public.sh b/src/shflags_test_public.sh
index 3877d80..5efb43e 100755
--- a/src/shflags_test_public.sh
+++ b/src/shflags_test_public.sh
@@ -1,12 +1,6 @@
#! /bin/sh
-# $Id$
# vim:et:ft=sh:sts=2:sw=2
#
-# Copyright 2008 Kate Ward. All Rights Reserved.
-# Released under the LGPL (GNU Lesser General Public License)
-#
-# Author: kate.ward@forestent.com (Kate Ward)
-#
# shFlags unit test for the public functions
# load test helpers