1 |
#!/usr/bin/env bash |
#!/usr/bin/env bash |
2 |
|
|
3 |
############################################################################### |
# AntiRight (c) 2002-2005 Jeffrey Bedard jefbed@e-list.net |
4 |
# |
|
|
# AntiRight |
|
|
# (c) 2002-2005 Jeffrey Bedard |
|
|
# jefbed@e-list.net |
|
|
# |
|
5 |
# This file is part of AntiRight. |
# This file is part of AntiRight. |
6 |
# |
|
7 |
# AntiRight is free software; you can redistribute it and/or modify |
# AntiRight is free software; you can redistribute it and/or |
8 |
# it under the terms of the GNU General Public License as published by |
# modify it under the terms of the GNU General Public License as |
9 |
# the Free Software Foundation; either version 2 of the License, or |
# published by the Free Software Foundation; either version 2 of |
10 |
# (at your option) any later version. |
# the License, or (at your option) any later version. AntiRight |
11 |
# |
# is distributed in the hope that it will be useful, but WITHOUT |
12 |
# AntiRight is distributed in the hope that it will be useful, |
# ANY WARRANTY; without even the implied warranty of |
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
# GNU General Public License for more details. |
# GNU General Public License for more details. You should have |
15 |
# |
# received a copy of the GNU General Public License along with |
16 |
# You should have received a copy of the GNU General Public License |
# AntiRight; if not, write to the Free Software Foundation, Inc., |
17 |
# along with AntiRight; if not, write to the Free Software |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
|
# |
|
|
############################################################################## |
|
18 |
|
|
19 |
# set -vx |
# set -vx |
20 |
|
|
54 |
} |
} |
55 |
ACE_record_titles() |
ACE_record_titles() |
56 |
{ |
{ |
57 |
$AWK -F: 'NF > 0 {if ($0 !~ /#/){print $1}}' ~/.antiright | tr '\n' ' ' |
$AWK -F: 'NF > 0 {if ($0 !~ /#/){print $1}}' ~/.antiright\ |
58 |
|
| sort | uniq | tr '\n' ' ' |
59 |
} |
} |
60 |
ACE_read_configuration_value() |
ACE_read_configuration_value() |
61 |
{ |
{ |