1RECINS(1) User Commands RECINS(1)
2
3
4
6 recins - insert records in a recfile
7
9 recins [OPTION]... [-t TYPE] [-n NUM | -e RECORD_EXPR | -q STR | -m
10 NUM] [(-f NAME -v STR) | -r RECDATA]... [FILE]
11
13 Insert new records in a rec database.
14
15 -f, --field=STR
16 field name; should be followed by a -v.
17
18 -v, --value=STR
19 field value; should be preceded by an -f.
20
21 -r, --record=STR
22 record that will be inserted in the file.
23
24 --force
25 insert the record even if it is violating record restrictions.
26
27 --no-external
28 don't use external descriptors.
29
30 --no-auto
31 don't insert auto generated fields.
32
33 --verbose
34 give a detailed report if the integrity check fails.
35
36 -s, --password=STR
37 encrypt confidential fields with the given password.
38
39 --help print a help message and exit.
40
41 --version
42 show version and exit.
43
44 Record selection options:
45 -i, --case-insensitive
46 make strings case-insensitive in selection expressions.
47
48 -t, --type=TYPE
49 operate on records of the specified type only.
50
51 -e, --expression=RECORD_EXPR
52 selection expression.
53
54 -q, --quick=STR
55 select records with fields containing a string.
56
57 -n, --number=NUM,...
58 select specific records by position, with ranges.
59
60 -m, --random=NUM
61 select a given number of random records.
62
63 If no FILE is specified then the command acts like a filter, getting
64 the data from standard input and writing the result to standard output.
65
67 Written by Jose E. Marchesi.
68
70 Report bugs to: bug-recutils@gnu.org
71 GNU recutils home page: <http://www.gnu.org/software/recutils/>
72 General help using GNU software: <http://www.gnu.org/gethelp/>
73
75 Copyright © 2010-2019 Jose E. Marchesi. License GPLv3+: GNU GPL ver‐
76 sion 3 or later <http://gnu.org/licenses/gpl.html>.
77 This is free software: you are free to change and redistribute it.
78 There is NO WARRANTY, to the extent permitted by law.
79
81 The full documentation for recins is maintained as a Texinfo manual.
82 If the info and recins programs are properly installed at your site,
83 the command
84
85 info recutils
86
87 should give you access to the complete manual.
88
89
90
91recins 1.8 January 2019 RECINS(1)