Deutsch   English   Français   Italiano  
<lkcf38Fib8gU1@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ted@loft.tnolan.com (Ted Nolan <tednolan>)
Newsgroups: comp.lang.c
Subject: Re: Command line globber/tokenizer library for C?
Date: 11 Sep 2024 02:54:32 GMT
Organization: loft
Lines: 25
Message-ID: <lkcf38Fib8gU1@mid.individual.net>
References: <lkbjchFebk9U1@mid.individual.net> <vbqtcb$1r0i3$1@news.xmission.com>
X-Trace: individual.net V3WANuWLfsPGL/XS74OKDQeis0Uw2+iif5Vv5W7Ex6nt5z9AQ2
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:eCgICv7rOXdo/gzf3Om5ans8I9U= sha256:YwsjZyAw6fqfMVN7pbtc1eSBb0Kzi9xhYMPvSz+Dvjw=
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Bytes: 1561

In article <vbqtcb$1r0i3$1@news.xmission.com>,
Kenny McCormack <gazelle@shell.xmission.com> wrote:
>In article <lkbjchFebk9U1@mid.individual.net>,
>Ted Nolan <tednolan> <tednolan> wrote:
>>I have the case where my C program is handed a string which is basically
>>a command line.
>>
>>Is there a common open source C library for tokenizing and globbing
>>this into an argc/argv as a shell would do?  I've googled, but I get
>>too much C++ & other language stuff.
>>
>>Note that I'm not asking for getopt(), that comes afterwards, and
>>I'm not asking for any variable interpolation, but just that a string
>>like, say
>
>Have a look at wordexp(3).
>

Very interesting, thanks!

Something added since lasttime I paged through section 3...

-- 
columbiaclosings.com
What's not in Columbia anymore..