diff options
author | Mu Qiao <qiaomuf@gentoo.org> | 2011-03-21 14:59:08 +0800 |
---|---|---|
committer | Petteri Räty <petsku@petteriraty.eu> | 2011-03-26 14:30:27 +0200 |
commit | a7fead521d21625dd0b378c18d4739b0ce5c5f55 (patch) | |
tree | ca333e8da156aeb705d8352e51b5535326bed098 /bashast/gunit | |
parent | Enable automake silent rules (diff) | |
download | libbash-a7fead521d21625dd0b378c18d4739b0ce5c5f55.tar.gz libbash-a7fead521d21625dd0b378c18d4739b0ce5c5f55.tar.bz2 libbash-a7fead521d21625dd0b378c18d4739b0ce5c5f55.zip |
Fix copyright format, add missing copyright
Use the format according to
http://www.gnu.org/licenses/gpl-howto.html, unify indentation.
Diffstat (limited to 'bashast/gunit')
-rw-r--r-- | bashast/gunit/arith_main.gunit | 27 | ||||
-rw-r--r-- | bashast/gunit/array.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/assoc_array.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/brace.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/command_sub.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/comment.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/compound.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/cond_main.gunit | 27 | ||||
-rw-r--r-- | bashast/gunit/continued_lines.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/expansions.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/fname.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/function.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/list.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/param_main.gunit | 27 | ||||
-rw-r--r-- | bashast/gunit/pipeline.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/proc_sub.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/redir.gunit | 28 | ||||
-rwxr-xr-x | bashast/gunit/runtests.sh | 3 | ||||
-rw-r--r-- | bashast/gunit/simp_command.gunit | 18 | ||||
-rw-r--r-- | bashast/gunit/simp_prog.gunit | 18 |
20 files changed, 328 insertions, 54 deletions
diff --git a/bashast/gunit/arith_main.gunit b/bashast/gunit/arith_main.gunit 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 -This file is part of libbash. + 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 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. + 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 <http://www.gnu.org/licenses/>. -**/ + You should have received a copy of the GNU General Public License + along with libbash. If not, see <http://www.gnu.org/licenses/>. +*/ gunit bashast; //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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; 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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; 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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; 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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; 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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; 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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; cond_comparison: diff --git a/bashast/gunit/cond_main.gunit b/bashast/gunit/cond_main.gunit 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 -This file is part of libbash. + 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 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. + 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 <http://www.gnu.org/licenses/>. -**/ + You should have received a copy of the GNU General Public License + along with libbash. If not, see <http://www.gnu.org/licenses/>. +*/ gunit bashast; cond_expr: diff --git a/bashast/gunit/continued_lines.gunit b/bashast/gunit/continued_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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; start: diff --git a/bashast/gunit/expansions.gunit b/bashast/gunit/expansions.gunit 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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; 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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; 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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; 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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; list: diff --git a/bashast/gunit/param_main.gunit b/bashast/gunit/param_main.gunit 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 -This file is part of libbash. + 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 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. + 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 <http://www.gnu.org/licenses/>. -**/ + You should have received a copy of the GNU General Public License + along with libbash. If not, see <http://www.gnu.org/licenses/>. +*/ gunit bashast; 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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; 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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; 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 -This file is part of libbash. + 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 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. + 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 <http://www.gnu.org/licenses/>. -**/ + You should have received a copy of the GNU General Public License + along with libbash. If not, see <http://www.gnu.org/licenses/>. +*/ gunit bashast; 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 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. # diff --git a/bashast/gunit/simp_command.gunit b/bashast/gunit/simp_command.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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; simple_command: diff --git a/bashast/gunit/simp_prog.gunit b/bashast/gunit/simp_prog.gunit 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 <http://www.gnu.org/licenses/>. +*/ gunit bashast; start: |