/usr/pkg/bin/pod2html: bin/remove-object.pl: unterminated list at =head in paragraph 59. ignoring. remove-object - Remove objects from file

NAME

remove-object - Remove objects from file


SYNOPSIS

remove-object [--help|-h] [--version|-V] [--verbose|-v] [--config config-file] [--no-write|-n] [--backup|-b] [--resref|-r resref-to-remove] [--tag|-t tag-to-remove] [--object|-o regexp-of-labels-to-remove] filename ...

remove-object --help


DESCRIPTION

remove-object removes the objects in the file that has TemplateResRef matching any of the --resref options or which has Tag matching any of the --tag options given. You can also give list of regexps in --object option and any object whose full label matches that is removed.


OPTIONS

--help -h
Prints out the usage information.

--version -V
Prints out the version information.

--verbose -v
Enables the verbose prints. This option can be given multiple times, and each time it enables more verbose prints.

--config config-file
All options given by the command line can also be given in the configuration file. This option is used to read another configuration file in addition to the default configuration file.

--no-write -n
Do not write anything, but do the modifications etc. This can be used to check that everything is modified properly before actually doing the modification.

--backup -b
Take backup copy of the file before writing it back. The backup copy will be named file.git.bak.

--tag -t tag-to-remove
If the object is having exactly the tag given then it is removed.

--resref -r resref-to-remove
If the object is having exactly the TemplateResRef given then it is removed.

--object -f regexp-of-labels-to-remove
If the object has full label matching the regexps given here they are removed.


FILES

~/.removeobjectrc
Default configuration file.


SEE ALSO

gffencode(1), gffmatch(1), gffmodify(1), gffprint(1), Gff(3), GffWrite(3) and GffRead(3).


AUTHOR

Tero Kivinen <kivinen@iki.fi>.


HISTORY

This program evolved from gffmodify(1) to allow easy removal of objects.