CIF2TSV(1)

๐Ÿ’– cif2tsv โ€” the CIF2TSV(1) page, bestie edition ๐Ÿ’–

okay so. welcome to cif2tsv(1), straight out of the General Commands Manual. grab a strawberry ๐Ÿ“, sit down, we're gonna get every last byte of this thing.


โœจ NAME โœจ

cif2tsv โ€” get specified data values from a CIF file(s). that's it, that's the whole vibe. ๐Ÿ’…


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

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

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

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

read from stdin, read from a file, read from a whole lil squad of files โ€” the range is giving versatility, no cap. โœจ


๐ŸŒธ DESCRIPTION ๐ŸŒธ

Get specified data values from a CIF file(s). that's the mission statement, and she stays on mission. ๐ŸŽ€


๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

one bullet per option, no skips, no summarising, we are NOT that girl. every single one is here. ๐Ÿซถ

  • -h, --header, -h-, --no-header โ€” print / do not print the column name header. and bestie, the default is do not print it. so --header turns it on, --no-header (and its lil twin -h-) turns it back off. ๐Ÿ’–
  • -a, --all-tags โ€” extract data for all data names. this is the default. and it overrides --tags. so if you're out here passing both, --all-tags wins the argument, periodt. ๐Ÿ”ฅ
  • -t, --tags _cell_length_a,_cell_volume โ€” extract the specified data items. that's your little comma-separated wishlist, like _cell_length_a,_cell_volume. โœจ
  • -g, --group-separator $'0, --newline-characters $'0 โ€” specify a group separator that separates TSV/CSV/ADT "lines" (default "0)). ๐Ÿ’€
  • -r, --record-separator $'', --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 "|"). ๐Ÿฆ‹
  • -p, --replacement " " โ€” a character to which all separators are replaced in the non-quoting output formats (TSV and ADT). remember this one, she's doing the quiet work behind the scenes. ๐Ÿ’…
  • -D, --dos-newlines
  • -M, --mac-newlines
  • -U, --unix-newlines โ€” set new line convention to DOS, MAC or Unix (Unix is the default). same as --group-separator with an appropriate string (e.g. --dos-newlines in bash is --group-sep $' '$'0)). ๐ŸŒˆ
  • --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. the default depends on how the program is called: 'cif2csv', 'cif2tsv' or 'cif2adt'. she picks her outfit based on the name you call her, iconic. โœจ
  • --filename โ€” print filename in the output. ๐Ÿ‘‘
  • --no-filename โ€” don't print filename in the output. this is the default. ๐Ÿ™ˆ
  • --datablock-name, --dataname โ€” print data block names in the output. this is the default. ๐ŸŒŸ
  • --no-datablock-name, --no-dataname โ€” do not print data block names in the output. ๐Ÿšซ
  • -d, --debug โ€” print internal program data structures for debugging. peek behind the curtain, it's giving backstage pass. ๐Ÿ”
  • --version โ€” print program version (SVN Id) and exit. ๐Ÿ“œ
  • --help โ€” print short usage message (this message) and exit. the "wait what were the flags again" button, we've all been there. ๐Ÿ˜ญ

๐Ÿ“ฎ REPORTING BUGS ๐Ÿ“ฎ

found a bug? spill it. report cif2tsv bugs using e-mail: cod-bugs@ibt.lt. the maintainers wanna hear from you, fr fr. ๐Ÿ’Œ


okay so that's the entire CIF2TSV(1) page, from the General Commands Manual, every flag and default accounted for, nothing dropped, nothing invented. ๐Ÿงš signing off as CIF2TSV(1) โ€” mwah, go read your CIFs bestie ๐Ÿ’‹๐Ÿ’–

๐Ÿ“ฆ where this page comes from