raspberrypi / pico-examples

BSD 3-Clause "New" or "Revised" License
2.94k stars 841 forks source link

Brackets in pico-examples/pico_w/tcp_server/lwipopts.h #280

Open pidd-wbiz opened 2 years ago

pidd-wbiz commented 2 years ago

Why does line 5 have brackets? bash picks up the close bracket as part of the URL

https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html)

willeccles commented 2 years ago

Not sure how bash is relevant here, as it shouldn't have anything to do with URL handling. If your terminal is including the parentheses in the URL, that's an issue with the terminal's URL parsing/detection. It's worth noting, however, that parentheses are valid in URLs, so it might be a good idea to remove them here. Most programs ignore a ) that comes at the end of a URL as it's very rarely part of the URL, though.