String variable expansion routine wanted

Alexander Pohoyda alexander.pohoyda at
Wed Jan 18 01:46:23 PST 2006

Hi folks,

Is there a C-function that does string variable expansion like this:

    "some text $(VARIABLE) text" --> "some text VALUE text"

I suppose this functionality is useful for many programs, so I'm
looking for a simpe library to link with.

Please CC me on reply.  Thanks a lot!

Alexander Pohoyda <alexander.pohoyda at>
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72  15 54 5F 62 20 23 C6 44

More information about the freebsd-questions mailing list