Boost C++ Libraries: Ticket #2561: Command line string splitting in Unix https://svn.boost.org/trac10/ticket/2561 <p> For now it is not possible to pass the whole command line as a string for Unix when 'argc,argv' are not available. The library does have a function split_winmain(str) but it is available only if _WIN32 macro is defined. Also it is useful to remove _WIN32 limitation for split_winmain because it can be used in UNIX for example in client/server applications </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2561 Trac 1.4.3 Sascha Ochsenknecht Thu, 26 Nov 2009 10:53:28 GMT owner, status, milestone changed https://svn.boost.org/trac10/ticket/2561#comment:1 https://svn.boost.org/trac10/ticket/2561#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Vladimir Prus</span> to <span class="trac-author">Sascha Ochsenknecht</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">Boost 1.42.0</span> </li> </ul> Ticket Sascha Ochsenknecht Fri, 27 Nov 2009 17:42:40 GMT <link>https://svn.boost.org/trac10/ticket/2561#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2561#comment:2</guid> <description> <p> I added a general split function which can split a given string at a defined set of character. The result is then stored in a vector of strings which is returned which can be passed to the command line option parser. </p> <p> I also added a test case for it test/split_test.cpp which should describe from the user point of view how this function works. </p> <p> For more complex spitting the user has to provide its own implementation. </p> <p> Hope it is useful </p> <p> Cheers, Sascha </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Sascha Ochsenknecht</dc:creator> <pubDate>Fri, 27 Nov 2009 17:47:54 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2561#comment:3 https://svn.boost.org/trac10/ticket/2561#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/57971" title="add general split function, Fixes #2561">[57971]</a>) add general split function, Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2561" title="#2561: Feature Requests: Command line string splitting in Unix (closed: fixed)">#2561</a> </p> Ticket