# *********************************************************************
# repairtable.txt: help text
# Copyright (c) 2001,2006 Carlo Strozzi
#
# 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; version 2 dated June, 1991.
#
# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# *********************************************************************
# $Id: repairtable.txt,v 1.2 2006/03/10 11:26:13 carlo Exp $

                      NoSQL operator: repairtable

Repair a broken NoSQL table.

Usage: repairtable [options]

Options:
    --filler (-F) 'string'
      Use 'string' as opposed to NULL for padding short rows.
      Useful to visually spot the added fields.

    --verbose (-v)
      Report verbosely about bad rows.

    --help (-h)
      Display this help text.

Notes:

Takes table rows that may lack trailing empty fields, and pads them
with OFS characters up to the number of fields in the header.
If any row contains more fields than the header, the extra fields
are dropped and a non-zero exit code is returned to caller.

Such broken tables are often the result of manipulating tables
with common spreadsheet programs.

