Blame Scripts/Bash/Styles/output_forTwoColumns.awk

470393
#!/usr/bin/gawk
470393
#
470393
# output_forRendering.awk -- This file provides the output format for
470393
# all rendering actions inside centos-art.sh script.
470393
#
470393
# Copyright (C) 2009-2010 Alain Reguera Delgado
470393
# 
470393
# This program is free software; you can redistribute it and/or modify
470393
# it under the terms of the GNU General Public License as published by
470393
# the Free Software Foundation; either version 2 of the License, or
470393
# (at your option) any later version.
470393
# 
470393
# This program is distributed in the hope that it will be useful, but
470393
# WITHOUT ANY WARRANTY; without even the implied warranty of
470393
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
470393
# General Public License for more details.
470393
#
470393
# You should have received a copy of the GNU General Public License
470393
# along with this program; if not, write to the Free Software
470393
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
470393
# USA.
470393
# 
470393
# ----------------------------------------------------------------------
470393
# $Id$
470393
# ----------------------------------------------------------------------
470393
470393
BEGIN { FS=": " }
470393
470393
{ 
470393
    if ( $0 ~ /^-+$/ ) 
470393
        print $0
470393
    else
470393
        printf "%-15s\t%s\n", $1, $2 
470393
    
470393
}
470393
470393
END {}