antiright-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Antiright-devel] antiright/src ACE


From: Jeffrey Bedard
Subject: [Antiright-devel] antiright/src ACE
Date: Sun, 03 Jul 2005 22:47:26 -0400

CVSROOT:        /cvsroot/antiright
Module name:    antiright
Branch:         
Changes by:     Jeffrey Bedard <address@hidden> 05/07/04 02:47:26

Modified files:
        src            : ACE 

Log message:
        Fixed creation of duplicate settings buttons on setting variables in 
the settings utility by means of uniq.  Used sort to make listing in 
alphabetical order to ease looking for a particular setting.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/antiright/antiright/src/ACE.diff?tr1=1.45&tr2=1.46&r1=text&r2=text

Patches:
Index: antiright/src/ACE
diff -u antiright/src/ACE:1.45 antiright/src/ACE:1.46
--- antiright/src/ACE:1.45      Sun Jul  3 23:21:34 2005
+++ antiright/src/ACE   Mon Jul  4 02:47:24 2005
@@ -1,28 +1,20 @@
 #!/usr/bin/env bash
 
-###############################################################################
-#
-#    AntiRight
-#    (c) 2002-2005 Jeffrey Bedard
-#    address@hidden
-# 
+#    AntiRight (c) 2002-2005 Jeffrey Bedard address@hidden
+ 
 #    This file is part of AntiRight.
-#
-#     AntiRight 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.
-#
-#     AntiRight is distributed in the hope that it will be useful,
-#     but WITHOUT ANY WARRANTY; without even the implied warranty of
+
+#     AntiRight 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.  AntiRight
+#     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 AntiRight; if not, write to the Free Software
-#     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  
02110-1301  USA
-#
-##############################################################################
+#     GNU General Public License for more details.  You should have
+#     received a copy of the GNU General Public License along with
+#     AntiRight; if not, write to the Free Software Foundation, Inc.,
+#     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
 # set -vx
 
@@ -62,7 +54,8 @@
 }
 ACE_record_titles()
 {
-    $AWK -F: 'NF > 0 {if ($0 !~ /#/){print $1}}' ~/.antiright | tr '\n' ' '
+    $AWK -F: 'NF > 0 {if ($0 !~ /#/){print $1}}' ~/.antiright\
+       | sort | uniq | tr '\n' ' '
 }
 ACE_read_configuration_value()
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]