Parsing Options in Shell, Perl and C

  2007-04-16 08:00:02
I was originally going to call it parse this but thought better of it. Deciding upon and implementing command line options, arguments and flags can be a real bear. There exist a lot of tools to help out programmers, although some of them may be a bit heavy handed; solution - roll your own when possible. In this text a look at short and long opt parsing options with limited examples. I would have gone more in depth, however, the possibilities are so endless (especially in shellcode and Perl) that I chose some small examples. 
  PNG Image  PNG Image  PNG Image
  Related tags  


This particular article has been collected via RSS syndication. We apologize if it's too brief.
If You wish to publish articles on LinuxStreet.net please contact us.


  Similar articles found on LinuxStreet  
ImageParsing arguments for your shell script
ImageAdvanced XML parsing techniques using Perl
ImageLearn the basics of the Perl/Tk module
ImageDouble Spacing In Awk, Perl and Shell on Linux and Unix
ImageIntermediate widgets with Perl/Tk module, Part 2
ImageMore tricks with BashDiff
ImageOptions Parsing and Keywords
ImagePHP5's special XML parsing techniques for complex docs
ImageFirst Release of Perl in Five Years Arrives
ImageManaging Xen With Xen-Tools, Xen-Shell, And Argo

Leave a comment on this article


Captcha

  
Check this if the code you see is not readable and resubmit the form.
(Data you entered will be preserved)



  

Comments (0)