Re: curl runner broken
Max Chernoff via ntg-context <[email protected]> Mon, 03 Aug 2026 02:57:37 -0600
| Newsgroups | gmane.comp.tex.context |
|---|---|
| Message-ID | <[email protected]> |
Hi Hans,
On Mon, 2026-08-03 at 10:41 +0200, Hans Hagen via ntg-context wrote:
> On 8/3/2026 9:54 AM, Max Chernoff via ntg-context wrote:
> > The curl runner is currently broken because it uses an invalid argument.
> > Changing "--L" to "-L" (one dash) in "data-sch.lmt" seems to have fixed
> > this for me. Or if you prefer using a long option instead, the manpage
> > suggests that "--location" should work too.
>
> what about --follow
*My* curl supports that, but I'm not sure about other peoples',
since --follow was added in v8.16.0, which was only released in
September 2025:
https://curl.se/ch/8.16.0.html
Whereas --location was first added in 1998, so everybody's curl should
support that:
https://curl.se/ch/4.9.html
> > (For anybody who is curious, this came up at TUG26, since I used ConTeXt
> > to automatically download and combine all talks for each day into a
> > single PDF file so that we didn't need to switch between multiple
> > files.)
>
> i think there's more to it ... last time mikael and i needed it we found
> that different curl versions behaved differently so the question then is
> ... what should we do
Well "--L" isn't supported by any version of curl, so probably not
that :). But it looks like --follow and --location only differ in
behaviour for non-GET methods
https://curl.se/docs/manpage.html#--follow
but ConTeXt only uses the external curl binary for GET requests (?), so
I think that --location should be safe.
Thanks,
-- Max
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________