Eric Gillespie <[email protected]> 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
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to