CIFPARSE(1)

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

✨ CIFPARSE ✨

okay bestie, listen up πŸ’– this is cifparse, a lil command from the General Commands Manual section of your Unix system, and she's here to parse CIF file(s), check syntax, and optionally output pretty-printed data. that's literally the whole job. and she ate. πŸ’…


🌸 NAME 🌸

cifparse β€” parse CIF file(s), check syntax, and optionally output pretty-printed data. no cap, that's it. that's the girl. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

src/components/codcif/cifparse --options < input.cif

src/components/codcif/cifparse --options input.cif

src/components/codcif/cifparse --options input1.cif input2.cif
inputs*.cif

so you can pipe stuff in, hand her one file, or hand her a whole lil squad of files and let the shell glob do its thing. options first, files after. slay. ✨


πŸ’œ DESCRIPTION πŸ’œ

Parse CIF file(s), check syntax, and optionally output pretty-printed data.

yeah. that's the vibe check. she reads your CIF, makes sure it's not a mess, and if you ask nicely she'll print it back out all glowed up and pretty. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -c, --compile-only β€” only compile the CIF (check syntax). she prints out the filename plus OK or FAILED to STDOUT, and any error messages go to STDERR. no pretty printing, just the ✨judgement✨.
  • -f, --fix-syntax β€” attempt to fix some errors in input CIF files, such as missing data_ headers or unterminated quoted strings. she's being nice about it. 🫢
  • -f-, --dont-fix-syntax β€” do not attempt to fix syntax errors in input CIF files. leave the chaos exactly as you found it. πŸ’€
  • -p, --print β€” print out data in CIF format. it's giving CIF pretty-printer, and honestly? iconic. πŸ¦‹
  • -d, --debug lex,yacc β€” specify one or several (comma-separated) debugging options. currently supported debugging options are:
    • dump β€” dump internal data structures for inspection. πŸ•΅οΈβ€β™€οΈ
    • lex β€” switch on (F)LEX token printout. every token, out loud, main character energy.
    • yacc β€” ask YACC/BISON to report which rules they reduce. 🧚
    • yylval β€” print out YACC/BISON's yylval.
    • text β€” dump the perceived input file text.
    • code β€” dump intermediate CIF code representation.
  • -l, --line-length-limit 80 β€” set the maximum line length for --report-long checks. so she knows when a line is being extra. πŸ“
  • -w, --dataname-length-limit 74 β€” set the maximum tag length for --report-long checks. same energy, but for the data names this time. ✨
  • -q, --quiet β€” be quiet, only output error messages and data. she's not gonna yap. πŸŽ€
  • -q-, --no-quiet, --verbose β€” produce verbose output of the parsing process. now she WILL yap. every step. you asked for this. πŸ’…
  • -r, --report-long-items β€” report CIF items (lines, data names) that are longer than mandated by the standard. snitch behaviour, but make it helpful. πŸ”₯
  • -r-, --do-not-report-long-items β€” ignore long items in CIF, process all data. no snitching today, we're chill. 🌈
  • -s, --suppress-errors β€” suppress error messages from the parser. she's pretending she didn't see that. πŸ™ˆ
  • -s-, --do-not-suppress-errors β€” print parser messages to STDERR (default). yeah, she's telling you everything. 😭
  • -M, --dump-messages β€” do not use accumulated CIF messages (default). that's the default setting btw, keep that in mind. πŸ’œ
  • -M-, --do-not-dump-messages β€” dump accumulated message texts from the CIF object. yes bestie, the - flipped the whole meaning, that's just how this girl works. 🌸
  • -u, --unfold-lines β€” unfold long lines (default). she likes them stretched out and readable. ⭐
  • -u-, --do-not-unfold-lines β€” leave folded lines as they are. respect the fold. 🧚
  • --version β€” print program version (SVN Id) and exit. cute lil flex, then she's gone. πŸ‘‘
  • --help β€” print short usage message (this message) and exit. she'll tell you how to use her, then dip. πŸ’–

πŸ’€ REPORTING BUGS πŸ’€

found a bug? report cifparse bugs using e-mail: cod-bugs@ibt.lt

bestie pls don't just suffer in silence, the maintainers genuinely wanna know. πŸ“§

okay that's the whole page πŸ’… this was cifparse, from the General Commands Manual β€” aka CIFPARSE(1), section 1, which is the classic Unix section number that shows up in her header and then shows up again at the bottom as the footer, bc that's just how manpages dress themselves. πŸŽ€ go parse something gorgeous. πŸ¦‹βœ¨πŸŒΈπŸ’–

πŸ“¦ where this page comes from