Eric Gillespie <epg(_at_)pretzelnet(_dot_)org> writes:
- Sanity-check curl-config --version output so we don't send anything
crazy in
our HTTP requests if curl-config changes.
This is the extraction:
CURL_USER_AGENT="`$curl_config --version | sed 's|^libcurl
*|libcurl/|; q'`"
and this is the sanity check:
AS_IF([test "x$CURL_USER_AGENT" != "x`echo $CURL_USER_AGENT | sed
's/ //'`"],
I think those are basic sed commands that shouldn't be any
portability problem, but I don't have many systems to test on...
Thanks.
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers