cxref-query(1)

πŸ’– NAME πŸ’–

cxref-query β€” bestie, this is the little program that goes and queries the cross reference database from cxref. that's the whole job. that's the vibe. πŸŽ€


✨ SYNOPSIS ✨

cxref-query [name  [  ...  name]] [-Odirname] [-Nbasename]
[-xref[-all][-file][-func][-var][-type]]

okay so you can hand it a bunch of names, and/or some flags, and it'll go do its thing πŸ’…


🌸 DESCRIPTION 🌸

okay so real talk: cxref-query is a very simple program. like, uncomplicated on purpose. its whole deal is querying the cross-reference database that the cxref program creates. πŸ¦‹

and here's the tea β€” it's not trying to be a fully featured tool. nope! it's meant to be an example. a lil demo of what information lives in that database and how you'd actually use it. so think of it as a cute reference implementation, not the final boss. ✨


πŸ‘‘ OPTIONS πŸ‘‘

  • name β€” the names of the objects you wanna query. it looks up the names of: Files, Variables, Functions, Typedefs 🫢
if you give it no names on the command line, it drops into interactive mode and just keeps prompting you for names until it hits an end of file (^D). so you can sit there and yap names at it one by one, no cap. πŸ’¬
  • -Odirname β€” use dirname as the input directory. πŸ“
  • -Nbasename β€” use basename.* as the input filenames. πŸ—‚οΈ
  • -xref β€” produce cross referencing information (see below, bestie πŸ‘‡)
    • -all β€” all cross references.
    • -file β€” cross references for files.
    • -func β€” cross references for functions.
    • -var β€” cross references for variables.
    • -type β€” cross references for types.

the output depends on which -xref options you picked, but basically? it gives you what you'd see in the section of the document for the named object. same energy, straight from the db. πŸ”₯


🌈 SEE ALSO 🌈


πŸ’œ AUTHOR πŸ’œ

the cxref-query program is copyright Andrew M. Bishop 1995,96,97. 🫑


and that's the whole page, bestie!! πŸŽ€ this lil icon is brought to you by the General Commands Manual, dated July 5, 1997, and yeah β€” cxref-query(1), periodt. πŸ’…βœ¨πŸ’–