CIFVALUES(1)
π CIFVALUES(1) π
okay so bestie, welcome to cifvalues β it lives in the General Commands Manual, section 1, and it's about to become your whole personality. π
β¨ NAME β¨
cifvalues β get specified data values from a CIF file(s). periodt π
π¦ SYNOPSIS π¦
three ways to run it, all equally iconic:
src/components/codcif/cifvalues --options < input.cif
src/components/codcif/cifvalues --options input.cif
src/components/codcif/cifvalues --options input1.cif input2.cif inputs*.cif
πΈ DESCRIPTION πΈ
Get specified data values from a CIF file(s).
and that's literally the whole description. no notes. you point it at a CIF file (or several), you tell it which data items you want, and it hands them over. main character energy fr fr π«Ά
π OPTIONS π
okay this is the part where you actually pay attention, no cap. every single one, in order:
-h,--header,-h-,--no-headerβ print the column name header, or don't print it (that's the default). the header is opt-in, bestie-t,--tags_cell_length_a,_cell_volume_ β extract the specified data items. there is no default β you gotta name your tags yourself.-g,--group-separator$'\0'and--newline-characters$'\0'β specify a group separator that separates the TSV/CSV/ADT "lines" (default"\0").-r,--record-separator$''and--separator$''β use the specified string to separate values of different data items (default" ").-u,--unit-separator"|",--value-separator"|",--vseparator"|"β use the specified string to separate multiple values of each looped data item (default"|"). yes, three names, same slay. β¨-p,--replacement" "β a character to which all separators are replaced in the non-quoting output formats (TSV and ADT).-q,--quote'"'β quote the strings containing separators using the specified quoting character (the default for CSV output).-q-,--no-quoteβ do not quote the strings containing separators, replace separators by the--replacementcharacter instead.-Q,--always-quoteβ always quote the values, even if they do not contain separators. extra? yes. valid? also yes.-Q-,--not-always-quoteβ quote the values only if they contain separators (default).-D,--dos-newlines-M,--mac-newlines-U,--unix-newlinesβ set new line convention to DOS, MAC or Unix (default). Same as--group-separatorwith an appropriate string (e.g.--dos-newlinesin bash is--group-sep $'\0').
careful, the manpage's own rendering of that last example is a lil cursed ($'and'$'0)floating around) β it's a$'β¦'-style string in bash, iykyk. π«
--tsv-output,--csv-output,--adt-outputβ set separators for the TSV, CSV or ADT (ASCII delimited text, using ASCII GS, RS and US chars) output. Default is TSV output.--filenameβ print filename in the output.--no-filenameβ don't print filename in the output (default).--datablock-name,--datanameβ print data block names in the output (default). π--no-datablock-name,--no-datanameβ do not print data block names in the output.-d,--debugβ print internal program data structures for debugging. for when you need to see the guts, ngl--versionβ print program version (SVN Id) and exit.--helpβ print short usage message (this message) and exit.
π REPORTING BUGS π
Report cifvalues bugs using e-mail: cod-bugs@ibt.lt
don't be shy, they wanna hear about it. bugs are just β¨unexpected featuresβ¨ until someone reports them.
and that's the whole page, bestie. it's filed as CIFVALUES(1) under the General Commands Manual β no fancy version string, no date stamp, just the manual name holding it down at the bottom like a true icon. slay, go extract some data values πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- debian trixie: cod-tools 3.11.0+dfsg-1 Β· LGPL-3.0-only
- ubuntu questing: cod-tools 3.11.0+dfsg-1
- ubuntu resolute: cod-tools 3.11.0+dfsg-2build1 Β· LGPL-3.0-only
- ubuntu stonking: cod-tools 3.12.0+dfsg-2 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms