Parsing Options in Shell, Perl and C
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.
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.
