CIFVALUES(1)

πŸ“¦
version 3.12.0 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸŽ€ 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 --replacement character 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-separator with an appropriate string (e.g. --dos-newlines in 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