CIF_VALUES(1)

πŸ’– CIF_VALUES β€” the manual page, but make it make sense πŸ’–

okay bestie, welcome to CIF_VALUES(1), straight out of the General Commands Manual ✨ this is the little command-line icon that reads CIF files and spits out the tag values you asked for in a cute lil table. no cap. let's get into it 🫢


🌸 NAME 🌸

cif_values β€” read CIFs and print out requested tag values in a tabular form. that's the whole job. she's focused. she's employed. she's slaying πŸ’…


✨ SYNOPSIS ✨

cif_values --options input1.cif input*.cif

yes the glob is doing what you think it's doing, she eats many files at once πŸ“


πŸ¦‹ DESCRIPTION πŸ¦‹

Read CIFs and print out requested tag values in a tabular form.

that's it. that's the vibe. you feed her CIFs, she hands you back the tags you asked for, all lined up in rows like a group photo where everyone actually showed up πŸ“Έ


πŸ‘‘ OPTIONS πŸ‘‘

  • -t, --tags _tag1,_tag2,_tag3_
  • --tags "_tag1 _tag2 _tag3"_ β€” Print out values of tags _tag1_, _tag2_, and _tag3_; the specified tag list becomes a new list of printed tags. lowkey this one replaces whatever tag list you had going, it doesn't add to it, so use it with intention bestie πŸŽ€
  • -a, --add-tag _tag4_ β€” Add tag _tag4_ to the list of printed tags. this one's the additive queen, she stacks onto what's already there ✨
  • -c, --clear-tags β€” Clear the list of printed tags accumulated so far. poof. gone. fresh start energy 🌈
  • -h, --header β€” Print out header with the names of selected tags at the beginning (default). yes this is the default, she labels her columns, she's organized πŸ’–
  • -h-, --no-header β€” Do not print out any header. no labels, just raw data, mysterious and minimal πŸ’€
  • -r, --replace-spaces β€” Replace spaces into underscores (default).
  • -r-, --dont-replace-spaces, --no-replace-spaces β€” Do not replace spaces into underscores (works satisfactory only when tabs are used as separators). > heads up bestie: this one only really works right when tabs are your separators, so don't come for her if you used spaces πŸ™ˆ
  • -s, --separator=", " β€” Use the specified string as a separator between tag values on a line. you pick the string, she puts it between your values, matching set, cute πŸŽ€
  • -u, --uniquify-tags _tag1,_tag2_ β€” Print only unique values of specified tags, not the whole list of values. dedupe era, we love to see it πŸ‘‘
  • --add-uniquified-tag _tag1_ β€” Add tag '_tag' to the uniquified tag list. another one for the unique-values pile ✨
  • -u-, --dont-uniquify-tags, --no-uniquify-tags β€” Print all values of all tags, do not uniquify any tags (default). everything, all of it, no filtering, the full unedited director's cut 😭
  • --tab-separator β€” Use TAB character as a separator between tag values on a line (default). tabs, iconic, classic, default πŸ¦‹
  • --vseparator, --value-separator ',' β€” Use the specified string to separate multiple values of a given tag (default: ','). note she's the value separator, different job from the line separator, don't confuse the two sisters πŸ’…
  • --treat-dots-as-underscores β€” Convert all dots in tag names into underscores (default).
  • --dont-treat-dots-as-underscores, --no-treat-dots-as-underscores β€” Leave original tags as they are. untouched, unbothered, exactly as the file wrote them 🌸
  • --filename β€” Print out full filename at the beginning of each line. full path and everything, so you know exactly which file each row came from πŸ“
  • --fix-syntax-errors β€” Try to fix those syntax errors in input CIFs that can be corrected unambiguously. she'll attempt the rescue, but only where there's genuinely one right answer, no guessing games ✨
  • --no-fix-syntax-errors,
  • --dont-fix-syntax-errors β€” Do not try to fix syntax errors in input CIFs (default). default behavior, errors stay errors, she's not your editor πŸ’€
  • --basename β€” Print out basename of each file at the beginning of each line. just the filename itself, no directory drama πŸŽ€
  • --no-filename β€” Do not print file names (default).
  • --dataname β€” Print out data block name at the beginning of each line (default).
  • --no-dataname β€” Do not print data block names.
  • --use-perl-parser
  • --use-c-parser β€” Specify parser to parse CIF files (default: C parser). pick your fighter, but she defaults to the C parser fr fr πŸ”₯
  • --help, --usage β€” Output a short usage message (this message) and exit. she tells you how to use her, then she dips 🫢
  • --version β€” Output version information and exit.

🧚 REPORTING BUGS 🧚

Report cif_values bugs using e-mail: cod-bugs@ibt.lt

if something's acting up, tell the devs, don't just suffer in silence bestie 😭


and that's the whole page, no notes πŸ’œ

okay so this was CIF_VALUES(1) from the General Commands Manual β€” go forth, read your CIFs, print your tags, and stay iconic. periodt. πŸ‘‘βœ¨πŸŽ€