C/C++ header maker
This tiny script will make an empty C/C++ header with the #ifdef crap in it w/o the risk of macro name clashes.
You can copy it to your local bin like:
$ sudo cp mkh.sh /opt/local/bin/mkh
Make sure to set attributes:
$ sudo chmod +x /opt/local/bin/mkh
To generate a header:
$ mkh > myheader.h
It'll spit out somethig like
#ifndef H_754B2010740C456BBF0C7BC264833CAD
#define H_754B2010740C456BBF0C7BC264833CAD
#endif
😃