From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q3ShZ-0007F8-Px for garchives@archives.gentoo.org; Sat, 26 Mar 2011 12:34:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A175CE0138; Sat, 26 Mar 2011 12:34:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1ABFBE0138 for ; Sat, 26 Mar 2011 12:34:36 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3506D1B40DE for ; Sat, 26 Mar 2011 12:34:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A67F58006A for ; Sat, 26 Mar 2011 12:34:34 +0000 (UTC) From: "Petteri Räty" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petteri Räty" Message-ID: Subject: [gentoo-commits] proj/libbash:master commit in: /, src/builtins/tests/, src/core/, bashast/gunit/, src/, bashast/, test/, ... X-VCS-Repository: proj/libbash X-VCS-Files: Makefile.am README bashast/bashast.g bashast/bashwalker.g bashast/features_script/features.sh bashast/gunit/arith_main.gunit bashast/gunit/array.gunit bashast/gunit/assoc_array.gunit bashast/gunit/brace.gunit bashast/gunit/command_sub.gunit bashast/gunit/comment.gunit bashast/gunit/compound.gunit bashast/gunit/cond_main.gunit bashast/gunit/continued_lines.gunit bashast/gunit/expansions.gunit bashast/gunit/fname.gunit bashast/gunit/function.gunit bashast/gunit/list.gunit bashast/gunit/param_main.gunit bashast/gunit/pipeline.gunit bashast/gunit/proc_sub.gunit bashast/gunit/redir.gunit bashast/gunit/runtests.sh bashast/gunit/simp_command.gunit bashast/gunit/simp_prog.gunit configure.ac src/builtins/boolean_builtins.h src/builtins/echo_builtin.cpp src/builtins/echo_builtin.h src/builtins/tests/boolean_tests.cpp src/builtins/tests/echo_tests.cpp src/core/interpreter.cpp src/core/interpreter.h src/core/interpreter_exception.h src/core/symbols.hpp src/core/tests/interpr eter_test.cpp src/core/tests/symbols_test.cpp src/cppbash_builtin.cpp src/cppbash_builtin.h test/post_check.cpp test/run_tests.cpp test/walker_test.cpp X-VCS-Directories: / src/builtins/tests/ src/core/ bashast/gunit/ src/ bashast/ test/ src/core/tests/ src/builtins/ bashast/features_script/ X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: a7fead521d21625dd0b378c18d4739b0ce5c5f55 Date: Sat, 26 Mar 2011 12:34:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 9fd6be88b41c2f847991399a6bde250b commit: a7fead521d21625dd0b378c18d4739b0ce5c5f55 Author: Mu Qiao gentoo org> AuthorDate: Mon Mar 21 06:59:08 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Sat Mar 26 12:30:27 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3Da7fead52 Fix copyright format, add missing copyright Use the format according to http://www.gnu.org/licenses/gpl-howto.html, unify indentation. --- Makefile.am | 3 ++- README | 3 ++- bashast/bashast.g | 28 ++++++++++++++-------------- bashast/bashwalker.g | 18 ++++++++++++++++++ bashast/features_script/features.sh | 3 ++- bashast/gunit/arith_main.gunit | 27 ++++++++++++++------------- bashast/gunit/array.gunit | 18 ++++++++++++++++++ bashast/gunit/assoc_array.gunit | 18 ++++++++++++++++++ bashast/gunit/brace.gunit | 18 ++++++++++++++++++ bashast/gunit/command_sub.gunit | 18 ++++++++++++++++++ bashast/gunit/comment.gunit | 18 ++++++++++++++++++ bashast/gunit/compound.gunit | 18 ++++++++++++++++++ bashast/gunit/cond_main.gunit | 27 ++++++++++++++------------- bashast/gunit/continued_lines.gunit | 18 ++++++++++++++++++ bashast/gunit/expansions.gunit | 18 ++++++++++++++++++ bashast/gunit/fname.gunit | 18 ++++++++++++++++++ bashast/gunit/function.gunit | 18 ++++++++++++++++++ bashast/gunit/list.gunit | 18 ++++++++++++++++++ bashast/gunit/param_main.gunit | 27 ++++++++++++++------------- bashast/gunit/pipeline.gunit | 18 ++++++++++++++++++ bashast/gunit/proc_sub.gunit | 18 ++++++++++++++++++ bashast/gunit/redir.gunit | 28 ++++++++++++++-------------- bashast/gunit/runtests.sh | 3 ++- bashast/gunit/simp_command.gunit | 18 ++++++++++++++++++ bashast/gunit/simp_prog.gunit | 18 ++++++++++++++++++ configure.ac | 3 ++- src/builtins/boolean_builtins.h | 3 ++- src/builtins/echo_builtin.cpp | 3 ++- src/builtins/echo_builtin.h | 5 +++-- src/builtins/tests/boolean_tests.cpp | 23 ++++++++++++----------- src/builtins/tests/echo_tests.cpp | 23 ++++++++++++----------- src/core/interpreter.cpp | 3 ++- src/core/interpreter.h | 3 ++- src/core/interpreter_exception.h | 3 ++- src/core/symbols.hpp | 3 ++- src/core/tests/interpreter_test.cpp | 23 ++++++++++++----------- src/core/tests/symbols_test.cpp | 23 ++++++++++++----------- src/cppbash_builtin.cpp | 5 +++-- src/cppbash_builtin.h | 5 +++-- test/post_check.cpp | 23 ++++++++++++----------- test/run_tests.cpp | 5 +++-- test/walker_test.cpp | 23 ++++++++++++----------- 42 files changed, 464 insertions(+), 152 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4d66b8a..9491679 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,8 @@ #the Free Software Foundation, either version 2 of the License, or #(at your option) any later version. # -#libbash is distributed in the hope that it will be useful,but WITHOUT A= NY WARRANTY; without even the implied warranty of +#libbash 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 General Public License for more details. # diff --git a/README b/README index 1eeb7be..563cf12 100644 --- a/README +++ b/README @@ -8,7 +8,8 @@ #the Free Software Foundation, either version 2 of the License, or #(at your option) any later version. # -#libbash is distributed in the hope that it will be useful,but WITHOUT A= NY WARRANTY; without even the implied warranty of +#libbash 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 General Public License for more details. # diff --git a/bashast/bashast.g b/bashast/bashast.g index 430e5cb..05d76aa 100644 --- a/bashast/bashast.g +++ b/bashast/bashast.g @@ -1,21 +1,21 @@ -/** -Copyright 2010 Nathan Eloe +/* + Copyright 2010 Nathan Eloe =20 -This file is part of libbash. + This file is part of libbash. =20 -libbash is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. =20 -libbash 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 General Public License for more details. + libbash 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 General Public License for more details. =20 -You should have received a copy of the GNU General Public License -along with libbash. If not, see . -**/ + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ grammar bashast; options { diff --git a/bashast/bashwalker.g b/bashast/bashwalker.g index 7fd550b..e8e60e5 100644 --- a/bashast/bashwalker.g +++ b/bashast/bashwalker.g @@ -1,3 +1,21 @@ +/* + Copyright 2011 Mu Qiao + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ tree grammar bashwalker; =20 options diff --git a/bashast/features_script/features.sh b/bashast/features_scrip= t/features.sh index e59a9f4..e41fad1 100644 --- a/bashast/features_script/features.sh +++ b/bashast/features_script/features.sh @@ -11,7 +11,8 @@ #the Free Software Foundation, either version 2 of the License, or #(at your option) any later version. # -#libbash is distributed in the hope that it will be useful,but WITHOUT A= NY WARRANTY; without even the implied warranty of +#libbash 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 General Public License for more details. # diff --git a/bashast/gunit/arith_main.gunit b/bashast/gunit/arith_main.gu= nit index e509c73..7253fad 100644 --- a/bashast/gunit/arith_main.gunit +++ b/bashast/gunit/arith_main.gunit @@ -1,20 +1,21 @@ -/** -Copyright 2010 Nathan Eloe +/* + Copyright 2010 Nathan Eloe =20 -This file is part of libbash. + This file is part of libbash. =20 -libbash is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. =20 -libbash is distributed in the hope that it will be useful,but WITHOUT AN= Y WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + libbash 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 General Public License for more details. =20 -You should have received a copy of the GNU General Public License -along with libbash. If not, see . -**/ + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 //for this set of unittests, we'll start from the diff --git a/bashast/gunit/array.gunit b/bashast/gunit/array.gunit index 8307e4e..b4b9bac 100644 --- a/bashast/gunit/array.gunit +++ b/bashast/gunit/array.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 var_def: diff --git a/bashast/gunit/assoc_array.gunit b/bashast/gunit/assoc_array.= gunit index e6b5b99..9e0782d 100644 --- a/bashast/gunit/assoc_array.gunit +++ b/bashast/gunit/assoc_array.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 var_def: diff --git a/bashast/gunit/brace.gunit b/bashast/gunit/brace.gunit index 6136ae6..d76b14a 100644 --- a/bashast/gunit/brace.gunit +++ b/bashast/gunit/brace.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 brace: diff --git a/bashast/gunit/command_sub.gunit b/bashast/gunit/command_sub.= gunit index 4f56cc7..a80a677 100644 --- a/bashast/gunit/command_sub.gunit +++ b/bashast/gunit/command_sub.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 command_sub: diff --git a/bashast/gunit/comment.gunit b/bashast/gunit/comment.gunit index 98234b2..db3006c 100644 --- a/bashast/gunit/comment.gunit +++ b/bashast/gunit/comment.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 start: diff --git a/bashast/gunit/compound.gunit b/bashast/gunit/compound.gunit index ffd919d..e3a6ef4 100644 --- a/bashast/gunit/compound.gunit +++ b/bashast/gunit/compound.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 cond_comparison: diff --git a/bashast/gunit/cond_main.gunit b/bashast/gunit/cond_main.guni= t index 79fb226..23e671d 100644 --- a/bashast/gunit/cond_main.gunit +++ b/bashast/gunit/cond_main.gunit @@ -1,20 +1,21 @@ -/** -Copyright 2010 Nathan Eloe +/* + Copyright 2010 Nathan Eloe =20 -This file is part of libbash. + This file is part of libbash. =20 -libbash is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. =20 -libbash is distributed in the hope that it will be useful,but WITHOUT AN= Y WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + libbash 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 General Public License for more details. =20 -You should have received a copy of the GNU General Public License -along with libbash. If not, see . -**/ + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 cond_expr: diff --git a/bashast/gunit/continued_lines.gunit b/bashast/gunit/continue= d_lines.gunit index 3a5746c..0ced36d 100644 --- a/bashast/gunit/continued_lines.gunit +++ b/bashast/gunit/continued_lines.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 start: diff --git a/bashast/gunit/expansions.gunit b/bashast/gunit/expansions.gu= nit index f78283f..3ee6846 100644 --- a/bashast/gunit/expansions.gunit +++ b/bashast/gunit/expansions.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 list: diff --git a/bashast/gunit/fname.gunit b/bashast/gunit/fname.gunit index eac2571..3284b5d 100644 --- a/bashast/gunit/fname.gunit +++ b/bashast/gunit/fname.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 fname: diff --git a/bashast/gunit/function.gunit b/bashast/gunit/function.gunit index 2799fa2..8315e06 100644 --- a/bashast/gunit/function.gunit +++ b/bashast/gunit/function.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 function: diff --git a/bashast/gunit/list.gunit b/bashast/gunit/list.gunit index aff5196..87015af 100644 --- a/bashast/gunit/list.gunit +++ b/bashast/gunit/list.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 list: diff --git a/bashast/gunit/param_main.gunit b/bashast/gunit/param_main.gu= nit index 99092c7..a62320d 100644 --- a/bashast/gunit/param_main.gunit +++ b/bashast/gunit/param_main.gunit @@ -1,20 +1,21 @@ -/** -Copyright 2010 Nathan Eloe +/* + Copyright 2010 Nathan Eloe =20 -This file is part of libbash. + This file is part of libbash. =20 -libbash is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. =20 -libbash is distributed in the hope that it will be useful,but WITHOUT AN= Y WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + libbash 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 General Public License for more details. =20 -You should have received a copy of the GNU General Public License -along with libbash. If not, see . -**/ + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 var_ref: diff --git a/bashast/gunit/pipeline.gunit b/bashast/gunit/pipeline.gunit index ac41d33..99b8d22 100644 --- a/bashast/gunit/pipeline.gunit +++ b/bashast/gunit/pipeline.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 pipeline: diff --git a/bashast/gunit/proc_sub.gunit b/bashast/gunit/proc_sub.gunit index aa7e6cc..5c3fd63 100644 --- a/bashast/gunit/proc_sub.gunit +++ b/bashast/gunit/proc_sub.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 proc_sub: diff --git a/bashast/gunit/redir.gunit b/bashast/gunit/redir.gunit index dd0a86b..20596d3 100644 --- a/bashast/gunit/redir.gunit +++ b/bashast/gunit/redir.gunit @@ -1,21 +1,21 @@ -/** -Copyright 2010 Nathan Eloe +/* + Copyright 2010 Nathan Eloe =20 -This file is part of libbash. + This file is part of libbash. =20 -libbash is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. =20 -libbash 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 General Public License for more details. + libbash 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 General Public License for more details. =20 -You should have received a copy of the GNU General Public License -along with libbash. If not, see . -**/ + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 redirect: diff --git a/bashast/gunit/runtests.sh b/bashast/gunit/runtests.sh index 7af4592..00eed26 100755 --- a/bashast/gunit/runtests.sh +++ b/bashast/gunit/runtests.sh @@ -9,7 +9,8 @@ #the Free Software Foundation, either version 2 of the License, or #(at your option) any later version. # -#libbash is distributed in the hope that it will be useful,but WITHOUT A= NY WARRANTY; without even the implied warranty of +#libbash 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 General Public License for more details. # diff --git a/bashast/gunit/simp_command.gunit b/bashast/gunit/simp_comman= d.gunit index 3384893..2f133de 100644 --- a/bashast/gunit/simp_command.gunit +++ b/bashast/gunit/simp_command.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 simple_command: diff --git a/bashast/gunit/simp_prog.gunit b/bashast/gunit/simp_prog.guni= t index 95a1370..57c2d44 100644 --- a/bashast/gunit/simp_prog.gunit +++ b/bashast/gunit/simp_prog.gunit @@ -1,3 +1,21 @@ +/* + Copyright 2010 Nathan Eloe + + This file is part of libbash. + + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + libbash 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libbash. If not, see . +*/ gunit bashast; =20 start: diff --git a/configure.ac b/configure.ac index 5dd5b0b..2643fba 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,8 @@ dnl it under the terms of the GNU General Public License = as published by dnl the Free Software Foundation, either version 2 of the License, or dnl (at your option) any later version. dnl -dnl libbash is distributed in the hope that it will be useful,but WITHOU= T ANY WARRANTY; without even the implied warranty of +dnl libbash is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. dnl diff --git a/src/builtins/boolean_builtins.h b/src/builtins/boolean_built= ins.h index b7afa12..cc16b25 100644 --- a/src/builtins/boolean_builtins.h +++ b/src/builtins/boolean_builtins.h @@ -8,7 +8,8 @@ the Free Software Foundation, either version 2 of the License, or (at your option) any later version. =20 - libbash is distributed in the hope that it will be useful,but WITHOUT= ANY WARRANTY; without even the implied warranty of + libbash 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 General Public License for more details. =20 diff --git a/src/builtins/echo_builtin.cpp b/src/builtins/echo_builtin.cp= p index 4f498bf..10fbf5b 100644 --- a/src/builtins/echo_builtin.cpp +++ b/src/builtins/echo_builtin.cpp @@ -8,7 +8,8 @@ the Free Software Foundation, either version 2 of the License, or (at your option) any later version. =20 - libbash is distributed in the hope that it will be useful,but WITHOUT= ANY WARRANTY; without even the implied warranty of + libbash 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 General Public License for more details. =20 diff --git a/src/builtins/echo_builtin.h b/src/builtins/echo_builtin.h index 0f55fa9..7677406 100644 --- a/src/builtins/echo_builtin.h +++ b/src/builtins/echo_builtin.h @@ -8,13 +8,14 @@ the Free Software Foundation, either version 2 of the License, or (at your option) any later version. =20 - libbash is distributed in the hope that it will be useful,but WITHOUT= ANY WARRANTY; without even the implied warranty of + libbash 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 General Public License for more details. =20 You should have received a copy of the GNU General Public License along with libbash. If not, see . - */ +*/ /// /// \file echo_builtin.h /// \author Nathan Eloe diff --git a/src/builtins/tests/boolean_tests.cpp b/src/builtins/tests/bo= olean_tests.cpp index ff65a9b..54a85b7 100644 --- a/src/builtins/tests/boolean_tests.cpp +++ b/src/builtins/tests/boolean_tests.cpp @@ -1,19 +1,20 @@ /* -Copyright 2010 Petteri R=C3=A4ty + Copyright 2010 Petteri R=C3=A4ty =20 -This file is part of libbash. + This file is part of libbash. =20 -libbash is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. =20 -libbash is distributed in the hope that it will be useful,but WITHOUT AN= Y WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + libbash 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 General Public License for more details. =20 -You should have received a copy of the GNU General Public License -along with libbash. If not, see . + You should have received a copy of the GNU General Public License + along with libbash. If not, see . */ /// /// \file echo_tests.cpp diff --git a/src/builtins/tests/echo_tests.cpp b/src/builtins/tests/echo_= tests.cpp index 4826c2f..cb5187e 100644 --- a/src/builtins/tests/echo_tests.cpp +++ b/src/builtins/tests/echo_tests.cpp @@ -1,19 +1,20 @@ /* -Copyright 2010 Nathan Eloe + Copyright 2010 Nathan Eloe =20 -This file is part of libbash. + This file is part of libbash. =20 -libbash is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. =20 -libbash is distributed in the hope that it will be useful,but WITHOUT AN= Y WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + libbash 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 General Public License for more details. =20 -You should have received a copy of the GNU General Public License -along with libbash. If not, see . + You should have received a copy of the GNU General Public License + along with libbash. If not, see . */ /// /// \file echo_tests.cpp diff --git a/src/core/interpreter.cpp b/src/core/interpreter.cpp index 470b53d..9c6a689 100644 --- a/src/core/interpreter.cpp +++ b/src/core/interpreter.cpp @@ -8,7 +8,8 @@ the Free Software Foundation, either version 2 of the License, or (at your option) any later version. =20 - libbash is distributed in the hope that it will be useful,but WITHOUT= ANY WARRANTY; without even the implied warranty of + libbash 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 General Public License for more details. =20 diff --git a/src/core/interpreter.h b/src/core/interpreter.h index 6ef0eee..5a34a98 100644 --- a/src/core/interpreter.h +++ b/src/core/interpreter.h @@ -8,7 +8,8 @@ the Free Software Foundation, either version 2 of the License, or (at your option) any later version. =20 - libbash is distributed in the hope that it will be useful,but WITHOUT= ANY WARRANTY; without even the implied warranty of + libbash 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 General Public License for more details. =20 diff --git a/src/core/interpreter_exception.h b/src/core/interpreter_exce= ption.h index 40f3d90..3e333d2 100644 --- a/src/core/interpreter_exception.h +++ b/src/core/interpreter_exception.h @@ -8,7 +8,8 @@ the Free Software Foundation, either version 2 of the License, or (at your option) any later version. =20 - libbash is distributed in the hope that it will be useful,but WITHOUT= ANY WARRANTY; without even the implied warranty of + libbash 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 General Public License for more details. =20 diff --git a/src/core/symbols.hpp b/src/core/symbols.hpp index c613cbf..3de80b3 100644 --- a/src/core/symbols.hpp +++ b/src/core/symbols.hpp @@ -8,7 +8,8 @@ the Free Software Foundation, either version 2 of the License, or (at your option) any later version. =20 - libbash is distributed in the hope that it will be useful,but WITHOUT= ANY WARRANTY; without even the implied warranty of + libbash 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 General Public License for more details. =20 diff --git a/src/core/tests/interpreter_test.cpp b/src/core/tests/interpr= eter_test.cpp index 6100f5c..9e29c83 100644 --- a/src/core/tests/interpreter_test.cpp +++ b/src/core/tests/interpreter_test.cpp @@ -1,19 +1,20 @@ /* -Copyright 2011 Mu Qiao + Copyright 2011 Mu Qiao =20 -This file is part of libbash. + This file is part of libbash. =20 -libbash is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. =20 -libbash is distributed in the hope that it will be useful,but WITHOUT AN= Y WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + libbash 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 General Public License for more details. =20 -You should have received a copy of the GNU General Public License -along with libbash. If not, see . + You should have received a copy of the GNU General Public License + along with libbash. If not, see . */ /// /// \file interpreter_test.cpp diff --git a/src/core/tests/symbols_test.cpp b/src/core/tests/symbols_tes= t.cpp index aaaf66d..4cc20bf 100644 --- a/src/core/tests/symbols_test.cpp +++ b/src/core/tests/symbols_test.cpp @@ -1,19 +1,20 @@ /* -Copyright 2011 Mu Qiao + Copyright 2011 Mu Qiao =20 -This file is part of libbash. + This file is part of libbash. =20 -libbash is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. =20 -libbash is distributed in the hope that it will be useful,but WITHOUT AN= Y WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + libbash 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 General Public License for more details. =20 -You should have received a copy of the GNU General Public License -along with libbash. If not, see . + You should have received a copy of the GNU General Public License + along with libbash. If not, see . */ /// /// \file symbols_test.cpp diff --git a/src/cppbash_builtin.cpp b/src/cppbash_builtin.cpp index a486bd6..34f4882 100644 --- a/src/cppbash_builtin.cpp +++ b/src/cppbash_builtin.cpp @@ -8,13 +8,14 @@ the Free Software Foundation, either version 2 of the License, or (at your option) any later version. =20 - libbash is distributed in the hope that it will be useful,but WITHOUT= ANY WARRANTY; without even the implied warranty of + libbash 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 General Public License for more details. =20 You should have received a copy of the GNU General Public License along with libbash. If not, see . - */ +*/ /// /// \file cppbash_builtin.cpp /// \author Nathan Eloe diff --git a/src/cppbash_builtin.h b/src/cppbash_builtin.h index 180034d..eb4494b 100644 --- a/src/cppbash_builtin.h +++ b/src/cppbash_builtin.h @@ -8,13 +8,14 @@ the Free Software Foundation, either version 2 of the License, or (at your option) any later version. =20 - libbash is distributed in the hope that it will be useful,but WITHOUT= ANY WARRANTY; without even the implied warranty of + libbash 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 General Public License for more details. =20 You should have received a copy of the GNU General Public License along with libbash. If not, see . - */ +*/ /// /// \file cppbash_builtin.h /// \author Nathan Eloe diff --git a/test/post_check.cpp b/test/post_check.cpp index 922e972..ba99fa0 100644 --- a/test/post_check.cpp +++ b/test/post_check.cpp @@ -1,19 +1,20 @@ /* -Copyright 2011 Mu Qiao + Copyright 2011 Mu Qiao =20 -This file is part of libbash. + This file is part of libbash. =20 -libbash is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. =20 -libbash is distributed in the hope that it will be useful,but WITHOUT AN= Y WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + libbash 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 General Public License for more details. =20 -You should have received a copy of the GNU General Public License -along with libbash. If not, see . + You should have received a copy of the GNU General Public License + along with libbash. If not, see . */ /// /// \file post_check.cpp diff --git a/test/run_tests.cpp b/test/run_tests.cpp index ba5a429..c1a98aa 100644 --- a/test/run_tests.cpp +++ b/test/run_tests.cpp @@ -8,13 +8,14 @@ the Free Software Foundation, either version 2 of the License, or (at your option) any later version. =20 - libbash is distributed in the hope that it will be useful,but WITHOUT= ANY WARRANTY; without even the implied warranty of + libbash 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 General Public License for more details. =20 You should have received a copy of the GNU General Public License along with libbash. If not, see . - */ +*/ /// /// \file run_tests.cpp /// \brief runs unit tests for post_check diff --git a/test/walker_test.cpp b/test/walker_test.cpp index d0ed10d..f1c6864 100644 --- a/test/walker_test.cpp +++ b/test/walker_test.cpp @@ -1,19 +1,20 @@ /* -Copyright 2011 Mu Qiao + Copyright 2011 Mu Qiao =20 -This file is part of libbash. + This file is part of libbash. =20 -libbash is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. + libbash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. =20 -libbash is distributed in the hope that it will be useful,but WITHOUT AN= Y WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + libbash 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 General Public License for more details. =20 -You should have received a copy of the GNU General Public License -along with libbash. If not, see . + You should have received a copy of the GNU General Public License + along with libbash. If not, see . */ /// /// \file lib_test.cpp