canlock-hfp(1)
π canlock-hfp(1) β the header field parser bestie πΈ
okay so real quick, this whole page lives inside the canlock-hp 3.3.2 manual and likeβ¦ it's a canlock-hfp(1) situation, iykyk. Let's get into it π«Ά
β¨ NAME β¨
canlock-hfp β the CLI frontend for the libcanlock library, periodt π
π SYNOPSIS π
canlock-hfp -h | -v
canlock-hfp [-d] [-n]
literally that's the whole vibe check, two whole modes π¦
πΈ DESCRIPTION πΈ
So canlock-hfp is the Header Field Parser (hfp, cute acronym, love that for her) for RFC 8315 conformant header fields π
The header field gets read from stdin. that's it, that's the input, no cap.
okay but here's the thing β the input data must be an unfolded "Cancel-Lock" or "Cancel-Key" header field with no line break at the end π¨ like, do not give her a trailing newline, she will not be slayed by that. The utility canlock-mhp(1) can be used to extract the field from an article, so if you need the assist, that's your girl π€
If such a header field is found, it gets parsed according to the syntax defined in RFC 8315. And if valid c-lock or c-key (respectively) elements are found, they are printed to stdout with SP (Space) as delimiter. iconic behaviour, honestly β¨
Note: Additional formatting output is printed onstderrto make the output more human readable on a terminal. Redirectstderrto/dev/nullif this is not wanted. no seriously, if the extra chatter is giving too much main character energy, just yeet it to/dev/nullπ
π OPTIONS π
The following options are supported, bestie, and yes we're listing all of them:
-dβ Enable debug mode (messages are printed tostderr). Detective mode activated π-hβ Print help message, then exit. the classic "help me help you" π«Ά-nβ Prepend the data onstdoutwith the header field name (including the colon) and a SP (Space) delimiter. name tag on, colon and space included π-vβ Print version and compile time options, then exit. she'll tell you what she's made of π
β EXIT STATUS β
Zero on success or regular exit respectively. All other values indicate an error.
so like, 0 = we ate and left no crumbs π. anything else = something went sideways, ngl π
π AUTHORS π
Michael Baeuerle β shoutout to the icon who made this happen π
π₯ REPORTING BUGS π₯
Report bugs to <mailto:michael.baeuerle@gmx.net>.
fr fr if you find a bug, tell him, don't just suffer in silence π
πΈ STANDARDS πΈ
canlock-hfp tries to comply with the following standards:
she's trying her best and honestly? she's doing great π
π¦ SEE ALSO π¦
go read those too, the whole friend group is worth your time π§
and that's the whole page, bestie π this was the canlock-hp 3.3.2 manual, dated 2024-05-11 β mwah, stay slaying, and remember: redirect that stderr if it's too loud π
π¦ where this page comes from
- epel 10: canlock 3.3.3-2.el10_3 Β· BSD-3-Clause AND NLPL AND ICU
- π the page's license: ICU
- (c) 2018-2019 Michael Baeuerle
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms