1RECSET(1)                        User Commands                       RECSET(1)
2
3
4

NAME

6       recset - manipulate fields in a recfile
7

SYNOPSIS

9       recset [OPTION]... [FILE]...
10

DESCRIPTION

12       Alter or delete fields in records.
13
14       --no-external
15              don't use external descriptors.
16
17       --force
18              alter the records even if violating record restrictions.
19
20       --help print a help message and exit.
21
22       --version
23              show version and exit.
24
25   Record selection options:
26       -i, --case-insensitive
27              make strings case-insensitive in selection expressions.
28
29       -t, --type=TYPE
30              operate on records of the specified type only.
31
32       -e, --expression=RECORD_EXPR
33              selection expression.
34
35       -q, --quick=STR
36              select records with fields containing a string.
37
38       -n, --number=NUM,...
39              select specific records by position, with ranges.
40
41       -m, --random=NUM
42              select a given number of random records.
43
44   Field selection options:
45       -f, --fields=FIELDS
46              comma-separated list of field names with optional subscripts.
47
48   Actions:
49       -s, --set=VALUE
50              change the value of the selected fields.
51
52       -a, --add=VALUE
53              add the selected fields with the given value.
54
55       -S, --set-add=VALUE
56              change  the  value  of the selected fields.  If they don't exist
57              then add a new field with that value.
58
59       -r, --rename=NAME
60              rename the selected fields to a given name.  If an entire record
61              set is selected then the field is renamed in the record descrip‐
62              tor as well.
63
64       -d, --delete
65              delete the selected fields.
66
67       -c, --comment
68              comment out the selected fields.
69

AUTHOR

71       Written by Jose E. Marchesi.
72

REPORTING BUGS

74       Report bugs to: bug-recutils@gnu.org
75       GNU recutils home page: <https://www.gnu.org/software/recutils/>
76       General help using GNU software: <http://www.gnu.org/gethelp/>
77
79       Copyright © 2010-2020 Jose E. Marchesi.  License GPLv3+: GNU  GPL  ver‐
80       sion 3 or later <http://gnu.org/licenses/gpl.html>.
81       This  is  free  software:  you  are free to change and redistribute it.
82       There is NO WARRANTY, to the extent permitted by law.
83

SEE ALSO

85       The full documentation for recset is maintained as  a  Texinfo  manual.
86       If  the  info  and recset programs are properly installed at your site,
87       the command
88
89              info recutils
90
91       should give you access to the complete manual.
92
93
94
95recset 1.9                        April 2022                         RECSET(1)
Impressum