Skip to content

Instantly share code, notes, and snippets.

@kongtomorrow
Created August 14, 2013 15:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kongtomorrow/53fd3e8b2b2920625ea6 to your computer and use it in GitHub Desktop.
Save kongtomorrow/53fd3e8b2b2920625ea6 to your computer and use it in GitHub Desktop.
longest symbols
Last login: Wed Aug 14 08:25:37 on ttys011
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
ken@Nepheli ~> cd /System/Library/Frameworks/
ken@Nepheli /S/L/Frameworks> ls | perl -ple 's/(.*).framework/$1.framework\/$1/' | xargs nm | perl -nle 'if (/([A-Z]\s.*)/) { $len = length($1); print "$len $1"; }' | grep -v ":" | grep -v ZN | sort -n | grep -v "install_name" | grep -v "OBJC_IVAR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment