sort-pw-cfg(1)

NAME
*[B-Font]sort-pw-cfg - sort/merge password config file

SYNOPSIS
*[B-Font]sort-pw-cfg [*[B-Font]-flags] [*[B-Font]-flag [*[I-Font]value]] [*[B-Font]--option-name[[=| ]*[I-Font]value]] [ <cfg-file> ...]

The operands that this program operates on may be specified either on the command line or read from standard input, one per line. In that input, leading and trailing white space is stripped, blank lines are ignored. Standard input may not be a terminal.

DESCRIPTION

This program will sort (and merge) the per-domain password attributes. If there are duplicate entries, the last entry seen will survive. The result will be sorted by password id hash code and option name. Thus, any file containing more recent entries should appear last. If you have updated two different password ids in two different password configuration files without having merged them, you may have a merge problem. You will need to try to remember what you did.

The "header" portion of the config file (the seeds and the <program...> marker) are taken from the first config file listed and ignored in the remaining files.

Example usage can be seen in the example section below.

This program will perform its function for every file named on the command line or every file named in a list read from stdin. The arguments or input names must be pre-existing files. The input list may contain comments, which are blank lines or lines beginning with a '#' character.

OPTIONS

send result to this file.

    Normally, the first named file is rewritten with the entries ordered by the hash code with duplicates removed. Use this option to redirect output to the named file.

select default config file for first input file.

    Instead of starting with the first operand (or first file in the standard input file list), start processing password id's with the contents of the standard configuration file. The additional files will override or augment this file.

Display usage information and exit.

Pass the extended usage information through a pager.

Output version of program and exit.  The default mode is `v', a simple
    version. The `c' mode will print copyright information and `n' will print the full copyright notice.

EXIT STATUS
One of the following exit values will be returned:

Successful program execution.

the option/argument configuration is invalid

insufficient memory

no password entry for current user

home directory could not be found

config file improperly protected

config file missing

cannot update config file

no seeds were specified in the config file

The seed value was invalid

the list of characters for the --select-chars option is bad

no password id was specified

There is a coding error that should be reported

libopts had an internal operational error.  Please report
    it to autogen-users@lists.sourceforge.net. Thank you.

AUTHORS
Written by Bruce Korb.

NOTES
This manual page was AutoGen-erated from the sort-pw-cfg option definitions.