Tuesday, December 20, 2011

opt arrrgh

After spending years banging out powerful script invocation options using Perl's wonderful Getopt::Long, this week's been a sad reminder of just how much cruft you must manually craft in C to get even a little bit of work done with getopt long. Sure, there is Boost and all kinds of nifty automation libraries...but they all impose a rather hefty co-installation dependency (requiring legal license approval from both the producer and consumer sides, etc). Often easier just to write the things yourself...or at least it was in Perl :-/

No comments:

Post a Comment