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.
|
|
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.
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.