The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

rename_ships.pl

DESCRIPTION

Renames multiple ships at the same time.

SYNOPSIS

rename_ships.pl --type scow --format '${type} &{int(cargo/1000)||q[]}'

rename_ships.pl -t scow -f 'Scow &{int(cargo/1000)}-&{int(speed/100)}&{combat>100?" [".int(combat/100)."]":q[]}'

OPTIONS

--type -t

Selects which vessel type to rename. Can be specified more than once.

--type cargo_ship
--type CARGO

There are some convenience types that select all ships of a given type. These are always in all-caps

CARGO
BATTLE

--format -f

Controls how the name of the ship will turn out.

--skip -s

Allows you to skip over ships of a given name. Useful if you named ships for how they are used.

    --skip Glyph
    --skip Daloris

--dry-run -n

Outputs the changes that would have occurred without actually doing so.