MSG_PARSE(1)

✨ MSG_PARSE πŸ’…

okay bestie, so this is msg_parse from the General Commands Manual, and it's literally the girl who reads your COD error messages and then re-serves them in whatever format you asked for. no cap.


🌸 NAME 🌸

msg_parse β€” parse COD error messages and output the results in the desired format. that's the whole job. she reads, she reformats, she serves. periodt. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

msg_parse --options input1.cif input*.cif

like. you pass some options, you pass one cif file, you pass a lil glob of cif files, and she does her thing. iconic behaviour fr fr.


πŸ’– DESCRIPTION πŸ’–

Parse COD error messages and output the results in the desired format.

that's it. that's the vibe. she takes the messages, she parses them, she hands them back looking exactly how you wanted. main character energy only. ✨


πŸ‘‘ OPTIONS πŸ‘‘

  • -d, --delimiter "" β€” this is the delimiter that gets used to separate fields in the delimiter-separated values (dsv) output format. the default is "" (yes, an empty string, she said what she said πŸ’€).
  • --dsv β€” output results in delimiter-separated values (dsv) format. this one is the default, so she's already doing it unless you say otherwise. lowkey generous of her. 🫢
  • --ignore-comments β€” ignore lines starting with a number symbol ('#'). she just. looks away. πŸ™ˆ
  • --process-comments β€” treat lines starting with a number symbol ('#') as error messages. this is the default, so those '#' lines are getting read, bestie. no skipping. 😭
  • --help, --usage β€” output a short usage message (this message) and exit. she tells you how to use her and then dips. queen. πŸ‘‘
  • --version β€” output version information and exit. she tells you who she is and then dips. also queen. πŸ’…

πŸ”₯ REPORTING BUGS πŸ”₯

found a bug in msg_parse? do NOT suffer in silence, that's not the vibe. report it using e-mail: cod-bugs@ibt.lt. she wants to know. πŸ›πŸ’Œ


heads up bestie: --dsv is on by default and --process-comments is on by default, so if you want the opposite behaviour you actually have to ask for it. she's not a mind reader. 🧚

and that's the whole page, no cap. this was MSG_PARSE(1) from the General Commands Manual β€” same title, same manual, same everything, just with way better energy. mwah. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά