Go to the previous, next
Certain options are available in all these programs. Rather than writing identical
descriptions for each of the programs, they are described here. (In fact, every GNU
program accepts (or should accept) these options.)
- --help --help Print a usage message listing all available options, then
--version --version Print the version number, then
Some GNU programs (at least
optionally make backups of files before writing new versions. These options control the
details of these backups. The options are also briefly mentioned in the descriptions of
the particular programs.
- -b --backup -b --backup Make backups of files that are about
to be overwritten or removed. Without this option, the original versions are destroyed.
suffix --suffix=suffix -S --suffix Append suffix
to each backup file made with -b. If this option is not specified, the value
SIMPLE_BACKUP_SUFFIX environment variable is used. And if
is not set, the default is ~, just as in Emacs.
-V method --version-control=method -V --version-control
Use method to determine the type of backups made with -b. If this
option is not specified, the value of the
variable is used. And if
VERSION_CONTROL is not set, the default backup type
This option corresponds to the Emacs variable version-control; the same
values for method are accepted as in Emacs. This options also more descriptive
name. The valid methods (unique abbreviations are accepted):
- t numbered numbered backup method Always make numbered backups.
- nil existing existing backup method Make numbered backups of files
that already have them, simple backups of the others.
never simple simple
backup method Always make simple backups.