Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace dead links #9023

Merged
merged 2 commits into from
Jul 14, 2024
Merged

replace dead links #9023

merged 2 commits into from
Jul 14, 2024

Commits on Jul 14, 2024

  1. replace dead links

    for link in $(grep -Eor 'https?://[^\\)", ]+' | grep -v dlang.org \
    | grep -Eo 'https?://.+'); do (printf "%s: " "$link"; curl -Is "$link" \
    | head -n1) | grep -E '4..$'; done
    
    for link in $(grep -Eor '\\$\\(HTTP .+, ' | grep -v dlang.org \
    | cut -d' ' -f2- | sed 's/, .*$//'); do out="$(curl -Is "$link")"; \
    (! [ $? = 0 ] || printf '%s' "$out" | head -n1 | grep -Eq '4..') \
    && printf '%s\\n' "$link"; done
    jtbx committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    f31a7bc View commit details
    Browse the repository at this point in the history
  2. std.stdio: fdopen is a POSIX library function

    It's implemented in Windows but it's not part of standard C.
    
    https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/fdopen
    jtbx committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    7c68568 View commit details
    Browse the repository at this point in the history