OSDN Git Service

writing them.
authoriga <tosiki.iga@nifty.ne.jp>
Thu, 30 Jan 2014 13:33:18 +0000 (22:33 +0900)
committeriga <tosiki.iga@nifty.ne.jp>
Thu, 30 Jan 2014 13:33:38 +0000 (22:33 +0900)
main/buassert.fnc
main/bumsg.fnc
test/simple001.sh

index e4f3ada..3245a13 100644 (file)
@@ -1,4 +1,48 @@
 #!/bin/sh
+# @(#) buassert.fnc ver20140130
+#
+# Description:
+#   Functions for logging messages.
+#
+# @author Toshiki IGA <tosiki.iga@nifty.ne.jp>
+# @version 1.0 2014-01-29 created newly.
+#####################################################################
+
+##############################################################################
+
+##############################################################################
+# bashutil
+# Copyright (C) 2014 Toshiki IGA
+#
+# This library is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this library. If not, see <http://www.gnu.org/licenses/>.
+##############################################################################
+
+##############################################################################
+# Copyright 2014 Toshiki IGA and others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##############################################################################
 
 assertEquals() {
   local message="$1"
index 1067255..c0a2ea4 100644 (file)
@@ -1,16 +1,46 @@
 #!/bin/sh
-# @(#) bumsg.fnc ver1.0
-#
-# Usage:
-#   . bumsg.fnc
-#   logmsg 'M001' 'Bash'
+# @(#) bumsg.fnc ver20140130
 #
 # Description:
 #   Functions for logging messages.
 #
-# @author tosiki.iga@nifty.ne.jp
-# @version 1.0 2014-01-29 Created newly.
-#####################################################################
+# @author Toshiki IGA <tosiki.iga@nifty.ne.jp>
+# @version 1.0 2014-01-29 created newly.
+##############################################################################
+
+##############################################################################
+# bashutil
+# Copyright (C) 2014 Toshiki IGA
+#
+# This library is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this library. If not, see <http://www.gnu.org/licenses/>.
+##############################################################################
+
+##############################################################################
+# Copyright 2014 Toshiki IGA and others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##############################################################################
 
 LOGGER="/usr/bin/logger -t $0 -i"
 
index 6852e33..3b78341 100644 (file)
@@ -1,6 +1,5 @@
 #!/bin/sh
 . ../main/bumsg.fnc
-. ../main/buassert.fnc
 . ./simple001.msg
 
 logmsg 'M001' 'Bash'