Skip to content

Instantly share code, notes, and snippets.

@dduan
Created March 23, 2016 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dduan/611d671a85e55ccb5478 to your computer and use it in GitHub Desktop.
Save dduan/611d671a85e55ccb5478 to your computer and use it in GitHub Desktop.
A command to find radars referenced in Swift's code base that aren't public.
# run this in the swift source code folder to get a list of radars
for i in $(grep -hor -E 'rdar://problem/[0-9]+' stdlib lib | sed 's/rdar:\/\/problem\///'); do if [[ ! -z $(curl -s "http://www.openradar.me/$i" | grep 'Tell us more!') ]]; then echo rdar://problem/$i; fi; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment