DOKK / manpages / debian 10 / recutils / recdel.1.en
RECDEL(1) User Commands RECDEL(1)

recdel - remove records from a recfile

recdel [OPTIONS]... [-t TYPE] [-n NUM | -e RECORD_EXPR | -q STR | -m NUM] [FILE]

Remove (or comment out) records from a rec file.

comment out the matching records instead of deleting them.
delete even in potentially dangerous situations, and if the deletion is violating record restrictions.
don't use external descriptors.
give a detailed report if the integrity check fails.
print a help message and exit.
show version and exit.

make strings case-insensitive in selection expressions.
operate on records of the specified type only.
selection expression.
select records with fields containing a string.
select specific records by position, with ranges.
select a given number of random records.

If no FILE is specified then the command acts like a filter, getting the data from standard input and writing the result to standard output.

Written by Jose E. Marchesi.

Report bugs to: bug-recutils@gnu.org
GNU recutils home page: <http://www.gnu.org/software/recutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>

Copyright © 2010, 2011, 2012, 2013, 2014 Jose E. Marchesi. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

The full documentation for recdel is maintained as a Texinfo manual. If the info and recdel programs are properly installed at your site, the command

info recutils

should give you access to the complete manual.

March 2014 recdel 1.7