A list of 25 apple.com/...
URLs was extracted from /usr/share/man
. Nearly half of them are now broken links. Links pointing to developers.apple.com in particular are often broken. (9 out 19, or ~47%)
Here's the list of just the broken URLs:
- https://developer.apple.com/darwin/projects/bonjour/ ===> 404
- https://developer.apple.com/darwin/projects/opendirectory/ ===> 404
- https://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/index.html ===> 404
- https://developer.apple.com/documentation/Darwin/Conceptual/64bitPorting/index.html ===> 404
- https://developer.apple.com/documentation/mac/IAC/IAC-361.html ===> 404
- https://developer.apple.com/downloads/ ===> 403 (not really broken, just requires login)
- https://developer.apple.com/hardwaredrivers/ve/downloads/vDSP_Library.pdf ===> 404
- https://developer.apple.com/referencelibrary/Networking/ ===> 404
- https://developer.apple.com/sdk/ ===> 404
- https://support.apple.com/kb/PH18756 ===> 404
extract urls from manpages:
$ ag --nofilename --only-matching "https?://.*apple\.com/[-A-Za-z0-9\+&@#/%=~_|\.]*" /usr/share/man | sed 's/http:\/\//https:\/\//g' | sed 's/\.$//g' | sort | uniq > /tmp/apple-manpage-urls.txt
$ cat /tmp/apple-manpage-urls.txt
https://developer.apple.com/bonjour/
https://developer.apple.com/darwin/projects/bonjour/
https://developer.apple.com/darwin/projects/opendirectory/
https://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/index.html
https://developer.apple.com/documentation/Darwin/Conceptual/64bitPorting/index.html
...
check the status of each URL (following redirects)
$ for i in $(cat /tmp/apple-manpage-urls.txt ); do echo -n "$i ===> "; curl -L -o /dev/null --silent --head --write-out '%{http_code}\n' "$i"; done
https://developer.apple.com/bonjour/ ===> 200
https://developer.apple.com/darwin/projects/bonjour/ ===> 404
https://developer.apple.com/darwin/projects/opendirectory/ ===> 404
https://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/index.html ===> 404
https://developer.apple.com/documentation/Darwin/Conceptual/64bitPorting/index.html ===> 404
https://developer.apple.com/documentation/corefoundation/cfpropertylist ===> 200
https://developer.apple.com/documentation/mac/IAC/IAC-361.html ===> 404
https://developer.apple.com/documentation/os/logging ===> 200
https://developer.apple.com/downloads/ ===> 403
https://developer.apple.com/hardwaredrivers/ve/downloads/vDSP_Library.pdf ===> 404
https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Introduction.html ===> 200
https://developer.apple.com/library/content/technotes/tn2004/tn2123.html ===> 200
https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Tasks/IncludingFrameworks.html ===> 200
https://developer.apple.com/library/mac/#documentation/Performance/Conceptual/vImage/Introduction/Introduction.html ===> 200
https://developer.apple.com/library/mac/#documentation/Performance/Conceptual/vecLib/Reference/reference.html ===> 200
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Predicates/Articles/pSyntax.html ===> 200
https://developer.apple.com/performance/accelerateframework.html ===> 200
https://developer.apple.com/referencelibrary/Networking/ ===> 404
https://developer.apple.com/sdk/ ===> 404
https://support.apple.com/kb/PH18756 ===> 404
https://www.apple.com/ ===> 200
https://www.apple.com/DTDs/PropertyList-1.0.dtd ===> 200
https://www.apple.com/publicsource ===> 200
https://www.apple.com/support ===> 200
https://www.opensource.apple.com/apsl/ ===> 200