nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] [Nmh-commits] [SCM] The nmh Mail Handling System branch, xoauth, updated. 1.6-branchpoint-370-g5c62616

2016-04-24 20:26:24
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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Nmh-workers] [Nmh-commits] [SCM] The nmh Mail Handling System branch, xoauth, updated. 1.6-branchpoint-370-g5c62616, Eric Gillespie <=