Scroll to navigation

RECINS(1) User Commands RECINS(1)

NAME

recins - insert records in a recfile

SYNOPSIS

recins [OPTION]... [-t TYPE] [-n NUM | -e RECORD_EXPR | -q STR | -m NUM] [(-f NAME -v STR) | -r RECDATA]... [FILE]

DESCRIPTION

Insert new records in a rec database.

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

Record selection options:

make strings case-insensitive in selection expressions.
operate on records of the specified type only.
selection expression.
select records with fields containing a string.
select specific records by position, with ranges.
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.

AUTHOR

Written by Jose E. Marchesi.

REPORTING BUGS

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/>

COPYRIGHT

Copyright © 2010-2020 Jose E. Marchesi. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

The full documentation for recins is maintained as a Texinfo manual. If the info and recins programs are properly installed at your site, the command

info recutils

should give you access to the complete manual.

April 2022 recins 1.9