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

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

Path: ...!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: 12 Sep 2024 03:06:15 GMT
Organization: loft
Lines: 46
Message-ID: <lkf456Fuf84U1@mid.individual.net>
References: <lkbjchFebk9U1@mid.individual.net> <vbsmlb$3o6n2$1@raubtier-asyl.eternal-september.org> <lke71fFqdjcU1@mid.individual.net> <87cyl9zx14.fsf@nosuchdomain.example.com>
X-Trace: individual.net iqgs0m7FUKKQWW4bIC0YuwydPJCmgHb7jPGu2dbTU7Oe36Tt3M
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:CK7HN+aG7+ZCyh1RMqmBAJQj7Ks= sha256:cqrsHhYHqeszViXs+GvNN7PanxxzV7u5ttCmqrlVgiQ=
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Bytes: 2895

In article <87cyl9zx14.fsf@nosuchdomain.example.com>,
Keith Thompson  <Keith.S.Thompson+u@gmail.com> wrote:
>ted@loft.tnolan.com (Ted Nolan <tednolan>) writes:
>> In article <vbsmlb$3o6n2$1@raubtier-asyl.eternal-september.org>,
>> Bonita Montero  <Bonita.Montero@gmail.com> wrote:
>>>Am 11.09.2024 um 16:59 schrieb Kenny McCormack:
>>>> In article <vbs1om$3jkch$1@raubtier-asyl.eternal-september.org>,
>>>> Bonita Montero  <Bonita.Montero@gmail.com> wrote:
>>>>> Do you think it would make sense to switch the language ?
>>>
>>>> Do you think it would make sense to pay attention to the "Newsgroups" line
>>>> in your header before clicking "Send"?
>>>
>>>I just wanted to suggest a simpler language.
>>>Compare that with a manual implementation of the same in C.
>>
>> Thanks, I appreciate that, but it does have to be C.
>
>We could help you more effectively if we understood your requirements.
>
>Why exactly does it have to be C?
>
>What system or systems do you need to support?  (I asked this before and
>you didn't answer.)
>
>If you only care about Windows, for example, that's going to affect what
>solutions we can offer; likewise if you only care about POSIX-based
>systems, or only about Linux-based systems.
>
>It might also be useful to know more about the context.  If this is for
>some specific application, what is that application intended to do, and
>why does it need to do tokenization and globbing?
>

This would be for work, so I am limited in what I can say about it, but
it has to be in C because it is would be a C callout from a GT.M mumps
process.  GT.M stores the command line tail (everything it doesn't need
to get a program running) in the special variable $ZCMDLINE which can
be passed to a callout.  I would like to parse that string as the
shell does a command line.  Basically, if it isn't a C library that
is commonly available through Linux package managers I probably can't
use it.  In the end this is a "nice to have" and I have a q&d approach
that I will probably use.
-- 
columbiaclosings.com
What's not in Columbia anymore..