robohdrs(1)

πŸ“¦ version 4.99.44, in epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ’– robohdrs(1) β€” the General Commands Manual glow-up ✨

okay bestie, so robohdrs lives in the General Commands Manual, and she is here to insert ROBODoc headers into your source code. that's the whole gig. no cap. πŸŽ€


🌸 NAME 🌸

robohdrs β€” insert ROBODoc headers to source code. periodt. πŸ’…


✨ SYNOPSIS ✨

robohdrs [options] <source file>

like, that's it. options, then your file. iconic. πŸ¦‹


πŸ’œ DESCRIPTION πŸ’œ

so robohdrs inserts ROBODoc headers into source code files. she's a one-file-at-a-time kind of girl β€” this program processes one source file at the time, no multitasking, no drama. πŸ’β€β™€οΈ

⚠️ okay important thing: existing ROBODoc headers, if any, are not checked for. and beware β€” because this may result in double headers. literally double. like wearing two necklaces but it's a bug. 😭

also, your current working directory should be the same as where the source file is located. fr fr, don't be somewhere else. πŸ“

by default, the items NAME and SYNOPSIS are included in the template header. slay. ⭐


πŸŽ€ OPTIONS πŸŽ€

  • -h β€” show brief help on usage and exit. she said "let me explain myself real quick" and then left. πŸ’…
  • -i β€” specify an extra header item to be included in the template header. repeat if multiple extra items are desired β€” stack 'em up bestie, no limit. πŸ”₯
  • -l β€” specify source code language (default is C/C++). the supported options are: fortran, fortran90, script, and tex. pick your era. 🌈
  • -p β€” specify project name for the source file header. give your project a name, she deserves one. πŸ‘‘
  • -s β€” include the SOURCE item. 🌟
  • -t β€” specify version control tag to be included in the main header. tag her, don't bag her. 🏷️
  • -x β€” specify the path to the ctags binary which is used. tell her where ctags lives so she can find it. 🧭

🌟 EXAMPLES 🌟

okay let's see her in action, this is the fun part 🫢

robohdrs -s -p myproj -i "MODIFICATION HISTORY" -i IDEAS test.c

this one specifies the project name myproj and inserts the extra items MODIFICATION HISTORY, IDEAS, and SOURCE to all template headers (excluding the source file header). note the "excluding the source file header" part β€” she's specific like that. πŸ’…


robohdrs -s -p myproj -l script test.tcl

this one inserts headers into a Tcl/Tk script. script girlies rise. 🐚✨


Copyright Β© 2003 Frans Slothouber and Petteri Kettunen and Jacco van Weert.

This is free software; see the source for copying conditions.

🚨 and there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, none. zero. she said good luck and godspeed. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

  • robodoc(1) β€” the sibling. the origin story. iykyk. 🌸

and that's the whole page bestie!! this was robohdrs version 0.01, dated August 2003, serving General Commands Manual realness. she's old, she's free software, and she ate. πŸ’…βœ¨πŸŽ€ mwah.

πŸ“¦ where this page comes from