1RECDEL(1) User Commands RECDEL(1)
2
3
4
6 recdel - remove records from a recfile
7
9 recdel [OPTIONS]... [-t TYPE] [-n NUM | -e RECORD_EXPR | -q STR | -m
10 NUM] [FILE]
11
13 Remove (or comment out) records from a rec file.
14
15 -c, --comment
16 comment out the matching records instead of deleting them.
17
18 --force
19 delete even in potentially dangerous situations, and if the
20 deletion is violating record restrictions.
21
22 --no-external
23 don't use external descriptors.
24
25 --verbose
26 give a detailed report if the integrity check fails.
27
28 --help print a help message and exit.
29
30 --version
31 show version and exit.
32
33 Record selection options:
34 -i, --case-insensitive
35 make strings case-insensitive in selection expressions.
36
37 -t, --type=TYPE
38 operate on records of the specified type only.
39
40 -e, --expression=RECORD_EXPR
41 selection expression.
42
43 -q, --quick=STR
44 select records with fields containing a string.
45
46 -n, --number=NUM,...
47 select specific records by position, with ranges.
48
49 -m, --random=NUM
50 select a given number of random records.
51
52 If no FILE is specified then the command acts like a filter, getting
53 the data from standard input and writing the result to standard output.
54
56 Written by Jose E. Marchesi.
57
59 Report bugs to: bug-recutils@gnu.org
60 GNU recutils home page: <http://www.gnu.org/software/recutils/>
61 General help using GNU software: <http://www.gnu.org/gethelp/>
62
64 Copyright © 2010, 2011, 2012, 2013, 2014 Jose E. Marchesi. License
65 GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
66 This is free software: you are free to change and redistribute it.
67 There is NO WARRANTY, to the extent permitted by law.
68
70 The full documentation for recdel is maintained as a Texinfo manual.
71 If the info and recdel programs are properly installed at your site,
72 the command
73
74 info recutils
75
76 should give you access to the complete manual.
77
78
79
80recdel 1.6.90 March 2014 RECDEL(1)