sabx_number - renumber all ids in an SABX 1.0 file


    sabx_number [OPTION]


    Renumber all the ids in an SABX 1.0 file.  This includes rides, parking
    places, turns, segments, stops, and pois.  The renumbering can be unique,
    or can start over for each element type.

    -i INFILE, --infile=INFILE
        SABX 1.0 file to read from

    -o OUTFILE, --outfile=OUTFILE
        SABX 1.0 file to write to

    -s START, --start=START
        index to start from (default 1)

    -u, --unique
        make all new indices in the file unique (otherwise it restarts from
        the start value for each element type)

    -m, --man
        print this extended help and exit

    -h, --help
        print basic help and exit


    Jay Farrimond


    Report bugs to <>


    The complete specification for SABX 1.0 files is available at

    The library that this utility is built on (sabx-lib) is available at


    sabx10 - an SABX file manipulation library
    Copyright (C) 2009, 2010 Jay Farrimond (

    This file is part of sabx10.

    sabx10 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 3 of the License, or (at your option) any later

    sabx10 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

    You should have received a copy of the GNU General Public License along
    with sabx10.  If not, see <>.