Skip to content

Instantly share code, notes, and snippets.

@bluebanboom
Created April 8, 2013 05:35
Show Gist options
  • Save bluebanboom/5334444 to your computer and use it in GitHub Desktop.
Save bluebanboom/5334444 to your computer and use it in GitHub Desktop.
Safe ARC.
# Automator service script
# sed -e's/\[//' 删[
# sed -e's/\]//' 删]
# sed -e's/ release//' 删release
# sed -e's/\([A-Za-z_0-9].*\);/SAFE_ARC_RELEASE(\1);/' 增加SAFE_ARC_RELEASE
sed -e's/\[//' | sed -e's/\]//' | sed -e's/ release//' | sed -e's/\([A-Za-z_0-9].*\);/SAFE_ARC_RELEASE(\1);/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment