RECDEL(1)

πŸ“¦
version 1.9 Β· 4 versions
, in alpine 3.24, debian bookworm, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– RECDEL(1) πŸ’–

okay bestie, so this one lives in the User Commands part of the manual, and it's literally called recdel. it's the "breakup with your records" tool. let's get into it πŸŽ€


✨ NAME ✨

recdel β€” remove records from a recfile πŸ—‘οΈβœ¨


🌸 SYNOPSIS 🌸

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

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically? it removes records from a rec file. or it comments them out, if that's the vibe you're going for. either way the records are done πŸ’…

  • -c, --comment β€” comment out the matching records instead of deleting them. not a delete, a soft launch into the void πŸ™ˆ
  • --force β€” delete even in potentially dangerous situations, and if the deletion is violating record restrictions. this one does not care about your feelings. use it with intention, fr fr.
  • --no-external β€” don't use external descriptors.
  • --verbose β€” give a detailed report if the integrity check fails. it's giving "tell me everything" energy πŸ‘‘
  • --help β€” print a help message and exit.
  • --version β€” show version and exit.

πŸŽ€ Record selection options: πŸŽ€

these are the ones that decide which records get the treatment. pick your fighter:

  • -i, --case-insensitive β€” make strings case-insensitive in selection expressions. HELLO and hello are the same girl now πŸ’…
  • -t, --type=TYPE β€” operate on records of the specified type only. type-specific, no crossover drama.
  • -e, --expression=RECORD_EXPR β€” selection expression. the fancy way to pick.
  • -q, --quick=STR β€” select records with fields containing a string. the low-effort, high-reward option ✨
  • -n, --number=NUM,... β€” select specific records by position, with ranges. numbers, ranges, precision 🎯
  • -m, --random=NUM β€” select a given number of random records. chaos mode, but make it intentional 🌈
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. no file? no problem, she just pipes. iconic behavior honestly 🫢

πŸ’œ AUTHOR πŸ’œ

Written by Jose E. Marchesi. (the icon who gave us this πŸ’–)


πŸ› REPORTING BUGS πŸ›

found a bug? spill to: bug-recutils@gnu.org


Copyright Β© 2010-2020 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. not even a little. not even for you bestie 😭

🌟 SEE ALSO 🌟

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. go read it, it's giving ✨educated✨ πŸ’–


and that's the whole page, babe. this was recdel version 1.9, dated April 2022, no cap πŸ«ΆπŸ’…βœ¨