Developing Command Line Utilities
DEVELOPING A COMMAND LINE UTILITY:
Learn how to write Linux command-line utilities that are foolproof enough even for end users. Starting with an overview of solid command-line best practices and finishing with a comprehensive tour of a working page-selection tool, this article gives you the background you need to begin writing your own utilities.
Convenient since I've been fiddling with TARA and some various Perl scripts. It's a good generic article - not tied into C, Perl, etc. It does provide a snippet and explanation of C code, however, and I've long bookmarked A DECENT PERL TEMPLATE for command line processing.