RECINS(1)
π recins β insert records in a recfile π
okay bestie, gather round, because this is the manual for recins from the GNU recutils crew, and it's genuinely iconic. it puts new records into a rec database. that's the whole vibe. let's get into it π¦
β¨ SYNOPSIS β¨
recins [OPTION]... [-t TYPE] [-n NUM | -e RECORD_EXPR | -q STR | -m NUM]
[(-f NAME -v STR) | -r RECDATA]... [FILE]
like, look at that. beautiful. no notes π
πΈ DESCRIPTION πΈ
So the entire job here is: insert new records in a rec database. That's it. That's the girl. π
here's the breakdown of how you feed it stuff:
-f,--field=STRβ this is your field name, and heads up: it should be followed by a-v. they're a package deal, fr fr.-v,--value=STRβ the field value. and yeah, this one should be preceded by an-f. see? package deal. π«Ά-r,--record=STRβ a whole entire record, ready to be inserted into the file.--forceβ insert the record even if it's violating record restrictions. living dangerously, I respect it.--no-externalβ don't use external descriptors. nope, not today.--no-autoβ don't insert auto generated fields. we're doing this manually, bestie.--verboseβ give a detailed report if the integrity check fails. so when it all goes wrong, at least you'll know why. π-s,--password=STRβ encrypt confidential fields with the given password. secrets stay secret. π--helpβ print a help message and exit. classic.--versionβ show version and exit. also classic.
π Record selection options π
these are for picking which records we're talking about:
-i,--case-insensitiveβ make strings case-insensitive in selection expressions. soBESTIEandbestieare the same girl now.-t,--type=TYPEβ operate on records of the specified type only. type-specific behavior, periodt.-e,--expression=RECORD_EXPRβ a selection expression. the fancy way to choose.-q,--quick=STRβ select records with fields containing a string. quick lil shortcut, love that for us.-n,--number=NUM,...β select specific records by position, with ranges. yes, ranges. go off.-m,--random=NUMβ select a given number of random records. chaos mode. π²
Also super important: if no FILE is specified then the command acts like a filter β it gets the data from standard input and writes the result to standard output. pipe girlie behavior, we love to see it. π
π AUTHOR π
Written by Jose E. Marchesi. king behavior honestly.
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the girlies:
- Report bugs to:
bug-recutils@gnu.org - GNU recutils home page:
https://www.gnu.org/software/recutils/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
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. (yes, that's the legal voice being dramatic. respect it.)
π₯ SEE ALSO π₯
The full documentation for recins is maintained as a Texinfo manual. If the info and recins programs are properly installed at your site, the command
info recutils
should give you access to the complete manual. iykyk πβ¨
okay that's the whole page!! this was recins 1.9, from April 2022, part of the GNU recutils situation. mwah, go insert some records bestie πππ¦
π¦ where this page comes from
- alpine 3.24: recutils-doc 1.9-r2 Β· GPL-3.0-or-later
- debian bookworm: recutils 1.9-2 Β· GPL-3.0-or-later
- fedora 43: recutils 1.9-12.fc43 Β· GPL-3.0-or-later
- fedora 43: recutils 1.9-12.fc43 Β· GPL-3.0-or-later
- fedora 44: recutils 1.9-13.fc44 Β· GPL-3.0-or-later
- fedora 44: recutils 1.9-13.fc44 Β· GPL-3.0-or-later
- nixos 26.05: recutils 1.9
- nixpkgs unstable: recutils 1.9
- opensuse-leap 16.0: gnu-recutils 1.9-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: gnu-recutils 1.9-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: gnu-recutils 1.9-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: gnu-recutils 1.9-bp160.1.13 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms