| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. |
| 2 |
.TH RECDEL "1" "April 2026" "GNU recutils 1.9" "User Commands" |
| 3 |
.SH NAME |
| 4 |
recdel \- remove records from a recfile |
| 5 |
.SH SYNOPSIS |
| 6 |
.B recdel |
| 7 |
[\fI\,OPTIONS\/\fR]... [\fI\,-t TYPE\/\fR] [\fI\,-n NUM | -e RECORD_EXPR | -q STR | -m NUM\/\fR] [\fI\,FILE\/\fR] |
| 8 |
.SH DESCRIPTION |
| 9 |
Remove (or comment out) records from a rec file. |
| 10 |
.TP |
| 11 |
\fB\-c\fR, \fB\-\-comment\fR |
| 12 |
comment out the matching records instead of |
| 13 |
deleting them. |
| 14 |
.TP |
| 15 |
\fB\-\-force\fR |
| 16 |
delete even in potentially dangerous situations, |
| 17 |
and if the deletion is violating record restrictions. |
| 18 |
.TP |
| 19 |
\fB\-\-no\-external\fR |
| 20 |
don't use external descriptors. |
| 21 |
.TP |
| 22 |
\fB\-\-verbose\fR |
| 23 |
give a detailed report if the integrity check |
| 24 |
fails. |
| 25 |
.TP |
| 26 |
\fB\-\-help\fR |
| 27 |
print a help message and exit. |
| 28 |
.TP |
| 29 |
\fB\-\-version\fR |
| 30 |
show version and exit. |
| 31 |
.SS "Record selection options:" |
| 32 |
.TP |
| 33 |
\fB\-i\fR, \fB\-\-case\-insensitive\fR |
| 34 |
make strings case\-insensitive in selection |
| 35 |
expressions. |
| 36 |
.TP |
| 37 |
\fB\-t\fR, \fB\-\-type\fR=\fI\,TYPE\/\fR |
| 38 |
operate on records of the specified type only. |
| 39 |
.TP |
| 40 |
\fB\-e\fR, \fB\-\-expression\fR=\fI\,RECORD_EXPR\/\fR |
| 41 |
selection expression. |
| 42 |
.TP |
| 43 |
\fB\-q\fR, \fB\-\-quick\fR=\fI\,STR\/\fR |
| 44 |
select records with fields containing a string. |
| 45 |
.TP |
| 46 |
\fB\-n\fR, \fB\-\-number\fR=\fI\,NUM\/\fR,... |
| 47 |
select specific records by position, with ranges. |
| 48 |
.TP |
| 49 |
\fB\-m\fR, \fB\-\-random\fR=\fI\,NUM\/\fR |
| 50 |
select a given number of random records. |
| 51 |
.PP |
| 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 |
.SH AUTHOR |
| 55 |
Written by Jose E. Marchesi. |
| 56 |
.SH "REPORTING BUGS" |
| 57 |
Report bugs to: bug\[email protected] |
| 58 |
.br |
| 59 |
GNU recutils home page: <https://www.gnu.org/software/recutils/> |
| 60 |
.br |
| 61 |
General help using GNU software: <http://www.gnu.org/gethelp/> |
| 62 |
.SH COPYRIGHT |
| 63 |
Copyright \(co 2010\-2020 Jose E. Marchesi. |
| 64 |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. |
| 65 |
.br |
| 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 |
.SH "SEE ALSO" |
| 69 |
The full documentation for |
| 70 |
.B recdel |
| 71 |
is maintained as a Texinfo manual. If the |
| 72 |
.B info |
| 73 |
and |
| 74 |
.B recdel |
| 75 |
programs are properly installed at your site, the command |
| 76 |
.IP |
| 77 |
.B info recutils |
| 78 |
.PP |
| 79 |
should give you access to the complete manual. |