Skip to content

帮助文档

导出命令行帮助文档。

recfix --help > recfix_help.txt
Usage: recfix [OPTION]... [OPERATION] [OP_OPTION]... [FILE]
Check and fix rec files.

      --no-external                   don't use external descriptors.
      --force                         force the requested operation.
      --help                          print a help message and exit.
      --version                       show version and exit.

Operations:
      --check                         check integrity of the specified file.  Default.
      --sort                          sort the records in the specified file.
      --auto                          insert auto-generated fields in records missing them.
      --encrypt                       encrypt confidential fields in the specified file.
      --decrypt                       decrypt confidential fields in the specified file.

De/Encryption options:
  -s, --password=PASSWORD             encrypt/decrypt with this password.

If no FILE is specified then the command acts like a filter, getting
the data from standard input and writing the result to standard output.

Report bugs to: bug-recutils@gnu.org
GNU recutils home page: <https://www.gnu.org/software/recutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>

导出命令行帮助文档。

recinf --help > recinf_help.txt
Usage: recinf [OPTION]... [FILE]...
Print information about the types of records stored in the input.

  -t, --type=RECORD_TYPE          print information on the records having the
                                    specified type.
  -d, --descriptor                include the full record descriptors.
  -n, --names-only                output just the names of the record files
                                    found in the input.
      --help                          print a help message and exit.
      --version                       show version and exit.

Special options:
  -S, --print-sexps                   print the data in sexps instead of rec format.

Report bugs to: bug-recutils@gnu.org
GNU recutils home page: <https://www.gnu.org/software/recutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>

导出命令行帮助文档。

recsel --help > recsel_help.txt
Usage: recsel [OPTION]... [-t TYPE] [-j FIELD] [-n INDEXES | -e RECORD_EXPR | -q STR | -m NUM] [-c | (-p|-P) FIELD_EXPR] [FILE]...
Select and print rec data.

  -d, --include-descriptors           print record descriptors along with the matched
                                        records.
  -C, --collapse                      do not section the result in records with newlines.
  -S, --sort=FIELD,...                sort the output by the specified fields.
  -G, --group-by=FIELD,...            group records by the specified fields.
  -U, --uniq                          remove duplicated fields in the output records.
  -s, --password=STR                  decrypt confidential fields with the given password.
      --help                          print a help message and exit.
      --version                       show version and exit.

Record selection options:
  -i, --case-insensitive              make strings case-insensitive in selection
                                        expressions.
  -t, --type=TYPE                     operate on records of the specified type only.
  -e, --expression=RECORD_EXPR        selection expression.
  -q, --quick=STR                     select records with fields containing a string.
  -n, --number=NUM,...                select specific records by position, with ranges.
  -m, --random=NUM                    select a given number of random records.
  -j, --join=FIELD                    perform an inner join using the specified field.

Output options:
  -p, --print=FIELDS                  comma-separated list of fields to print for each
                                        matching record.
  -P, --print-values=FIELDS           as -p, but print only the values of the selected
                                        fields.
  -R, --print-row=FIELDS              as -P, but separate the values with spaces instead
                                        of newlines.
  -c, --count                         print a count of the matching records instead of
                                        the records themselves.

Special options:
      --print-sexps                   print the data in sexps instead of rec format.

Report bugs to: bug-recutils@gnu.org
GNU recutils home page: <https://www.gnu.org/software/recutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>

导出命令行帮助文档。

recins --help > recins_help.txt
Usage: recins [OPTION]... [-t TYPE] [-n NUM | -e RECORD_EXPR | -q STR | -m NUM] [(-f NAME -v STR) | -r RECDATA]... [FILE]
Insert new records in a rec database.

  -f, --field=STR                     field name; should be followed by a -v.
  -v, --value=STR                     field value; should be preceded by an -f.
  -r, --record=STR                    record that will be inserted in the file.
      --force                         insert the record even if it is violating
                                        record restrictions.
      --no-external                   don't use external descriptors.
      --no-auto                       don't insert auto generated fields.
      --verbose                       give a detailed report if the integrity check
                                        fails.
  -s, --password=STR                  encrypt confidential fields with the given password.
      --help                          print a help message and exit.
      --version                       show version and exit.

Record selection options:
  -i, --case-insensitive              make strings case-insensitive in selection
                                        expressions.
  -t, --type=TYPE                     operate on records of the specified type only.
  -e, --expression=RECORD_EXPR        selection expression.
  -q, --quick=STR                     select records with fields containing a string.
  -n, --number=NUM,...                select specific records by position, with ranges.
  -m, --random=NUM                    select a given number of random records.

If no FILE is specified then the command acts like a filter, getting
the data from standard input and writing the result to standard output.

Report bugs to: bug-recutils@gnu.org
GNU recutils home page: <https://www.gnu.org/software/recutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>

导出命令行帮助文档。

recset --help > recset_help.txt
Usage: recset [OPTION]... [FILE]...
Alter or delete fields in records.

      --no-external                   don't use external descriptors.
      --force                         alter the records even if violating record
                                        restrictions.
      --help                          print a help message and exit.
      --version                       show version and exit.

Record selection options:
  -i, --case-insensitive              make strings case-insensitive in selection
                                        expressions.
  -t, --type=TYPE                     operate on records of the specified type only.
  -e, --expression=RECORD_EXPR        selection expression.
  -q, --quick=STR                     select records with fields containing a string.
  -n, --number=NUM,...                select specific records by position, with ranges.
  -m, --random=NUM                    select a given number of random records.

Field selection options:
  -f, --fields=FIELDS                 comma-separated list of field names with optional
                                        subscripts.

Actions:
  -s, --set=VALUE                     change the value of the selected fields.
  -a, --add=VALUE                     add the selected fields with the given value.
  -S, --set-add=VALUE                 change the value of the selected fields.  If they don't
                                        exist then add a new field with that value.
  -r, --rename=NAME                   rename the selected fields to a given name.  If an entire
                                        record set is selected then the field is renamed in the
                                        record descriptor as well.
  -d, --delete                        delete the selected fields.
  -c, --comment                       comment out the selected fields.

Report bugs to: bug-recutils@gnu.org
GNU recutils home page: <https://www.gnu.org/software/recutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>

导出命令行帮助文档。

recdel --help > recdel_help.txt
Usage: recdel [OPTIONS]... [-t TYPE] [-n NUM | -e RECORD_EXPR | -q STR | -m NUM] [FILE]
Remove (or comment out) records from a rec file.

  -c, --comment                       comment out the matching records instead of
                                        deleting them.
      --force                         delete even in potentially dangerous situations,
                                        and if the deletion is violating record restrictions.
      --no-external                   don't use external descriptors.
      --verbose                       give a detailed report if the integrity check
                                        fails.
      --help                          print a help message and exit.
      --version                       show version and exit.

Record selection options:
  -i, --case-insensitive              make strings case-insensitive in selection
                                        expressions.
  -t, --type=TYPE                     operate on records of the specified type only.
  -e, --expression=RECORD_EXPR        selection expression.
  -q, --quick=STR                     select records with fields containing a string.
  -n, --number=NUM,...                select specific records by position, with ranges.
  -m, --random=NUM                    select a given number of random records.

If no FILE is specified then the command acts like a filter, getting
the data from standard input and writing the result to standard output.

Report bugs to: bug-recutils@gnu.org
GNU recutils home page: <https://www.gnu.org/software/recutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>

联系 math@baima.site