1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
2 .TH RECDEL "1" "January 2019" "recdel 1.8" "User Commands"
4 recdel \- remove records from a recfile
7 [\fI\,OPTIONS\/\fR]... [\fI\,-t TYPE\/\fR] [\fI\,-n NUM | -e RECORD_EXPR | -q STR | -m NUM\/\fR] [\fI\,FILE\/\fR]
9 Remove (or comment out) records from a rec file.
11 \fB\-c\fR, \fB\-\-comment\fR
12 comment out the matching records instead of
16 delete even in potentially dangerous situations,
17 and if the deletion is violating record restrictions.
19 \fB\-\-no\-external\fR
20 don't use external descriptors.
23 give a detailed report if the integrity check
27 print a help message and exit.
30 show version and exit.
31 .SS "Record selection options:"
33 \fB\-i\fR, \fB\-\-case\-insensitive\fR
34 make strings case\-insensitive in selection
37 \fB\-t\fR, \fB\-\-type\fR=\fI\,TYPE\/\fR
38 operate on records of the specified type only.
40 \fB\-e\fR, \fB\-\-expression\fR=\fI\,RECORD_EXPR\/\fR
43 \fB\-q\fR, \fB\-\-quick\fR=\fI\,STR\/\fR
44 select records with fields containing a string.
46 \fB\-n\fR, \fB\-\-number\fR=\fI\,NUM\/\fR,...
47 select specific records by position, with ranges.
49 \fB\-m\fR, \fB\-\-random\fR=\fI\,NUM\/\fR
50 select a given number of random records.
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.
55 Written by Jose E. Marchesi.
57 Report bugs to: bug\-recutils@gnu.org
59 GNU recutils home page: <http://www.gnu.org/software/recutils/>
61 General help using GNU software: <http://www.gnu.org/gethelp/>
63 Copyright \(co 2010\-2019 Jose E. Marchesi.
64 License 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.
69 The full documentation for
71 is maintained as a Texinfo manual. If the
75 programs are properly installed at your site, the command
79 should give you access to the complete manual.