470393
Add output_forRendering.awk to centos-art.sh Style directory.
@@ -0,0 +1,37 @@
|
|
1
|
+
!/usr/bin/gawk
|
2
|
+
|
3
|
+
output_forRendering.awk -- This file provides the output format for
|
4
|
+
all rendering actions inside centos-art.sh script.
|
5
|
+
|
6
|
+
Copyright (C) 2009-2010 Alain Reguera Delgado
|
7
|
+
|
8
|
+
# This program is free software; you can redistribute it and/or modify
|
9
|
+
# it under the terms of the GNU General Public License as published by
|
10
|
+
# the Free Software Foundation; either version 2 of the License, or
|
11
|
+
# (at your option) any later version.
|
12
|
+
|
13
|
+
# This program is distributed in the hope that it will be useful, but
|
14
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16
|
+
General Public License for more details.
|
17
|
+
|
18
|
+
# You should have received a copy of the GNU General Public License
|
19
|
+
along with this program; if not, write to the Free Software
|
20
|
+
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
21
|
+
USA.
|
22
|
+
|
23
|
+
----------------------------------------------------------------------
|
24
|
+
$Id$
|
25
|
+
----------------------------------------------------------------------
|
26
|
+
|
27
|
+
BEGIN { FS=": " }
|
28
|
+
|
29
|
+
{
|
30
|
+
if ( $0 ~ /^-+$/ )
|
31
|
+
print $0
|
32
|
+
else
|
33
|
+
printf "%-15s\t%s\n", $1, $2
|
34
|
+
|
35
|
+
}
|
36
|
+
|
37
|
+
END {}
|