Re: [OxLUG] Unix command line options/arguments

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Sad Clouds
Date:  
To: oxlug
Subject: Re: [OxLUG] Unix command line options/arguments
On Fri, 9 Jul 2010 15:18:39 +0100
Malcolm Beattie <> wrote:

> > Does anyone know if someone has already developed a library that
> > does more or less what I have described above (I couldn't find
> > any)? Or maybe someone can see a flaw in my methodology??
>
> If you don't mind C++,
>     http://www.boost.org/doc/html/program_options.html


I'm not sure I would want to go down C++ route. I'm half way through
coding my own options parsing library. I'm also adding some logic to
handle international characters, based on Unix locales and C wide
characters. This will allow me to parse things like filenames and
other strings, encoded with international characters.