From 6a032bbc6273a3e6cc357b16e9580d83b314e27f Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 14 2010 03:13:52 +0000 Subject: * Move out output_forRendering.awk from render functionality style directory to trunk/Scripts/Bash/Styles/output_forTwoColums.awk. * Remove Styles directory from render functionality. --- diff --git a/Scripts/Bash/Functions/Render/Styles/output_forRendering.awk b/Scripts/Bash/Functions/Render/Styles/output_forRendering.awk deleted file mode 100644 index 208e3dc..0000000 --- a/Scripts/Bash/Functions/Render/Styles/output_forRendering.awk +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/gawk -# -# output_forRendering.awk -- This file provides the output format for -# all rendering actions inside centos-art.sh script. -# -# Copyright (C) 2009-2010 Alain Reguera Delgado -# -# This program 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. -# -# This program 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 this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA. -# -# ---------------------------------------------------------------------- -# $Id$ -# ---------------------------------------------------------------------- - -BEGIN { FS=": " } - -{ - if ( $0 ~ /^-+$/ ) - print $0 - else - printf "%-15s\t%s\n", $1, $2 - -} - -END {} diff --git a/Scripts/Bash/Styles/output_forTwoColumns.awk b/Scripts/Bash/Styles/output_forTwoColumns.awk new file mode 100644 index 0000000..208e3dc --- /dev/null +++ b/Scripts/Bash/Styles/output_forTwoColumns.awk @@ -0,0 +1,37 @@ +#!/usr/bin/gawk +# +# output_forRendering.awk -- This file provides the output format for +# all rendering actions inside centos-art.sh script. +# +# Copyright (C) 2009-2010 Alain Reguera Delgado +# +# This program 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. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. +# +# ---------------------------------------------------------------------- +# $Id$ +# ---------------------------------------------------------------------- + +BEGIN { FS=": " } + +{ + if ( $0 ~ /^-+$/ ) + print $0 + else + printf "%-15s\t%s\n", $1, $2 + +} + +END {}