Skip to content

Instantly share code, notes, and snippets.

@aras-p
Last active September 5, 2018 05:28
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 aras-p/834f1d79c133efb7a7109b1433889259 to your computer and use it in GitHub Desktop.
Save aras-p/834f1d79c133efb7a7109b1433889259 to your computer and use it in GitHub Desktop.
Cleanup dotPeek decompiled C# file output
find . -name "*" -type f | xargs sed -i -e "/ MVID: /d"
find . -name "*" -type f | xargs sed -i -e "/ Assembly location: /d"
find . -name "*" -type f | xargs sed -i -e "/\[FreeFunction/d"
find . -name "*" -type f | xargs sed -i -e "/\[NativeHeader/d"
find . -name "*" -type f | xargs sed -i -e "/\[NativeType/d"
find . -name "*" -type f | xargs sed -i -e "/\[NativeName/d"
find . -name "*" -type f | xargs sed -i -e "/\[NativeClass/d"
find . -name "*" -type f | xargs sed -i -e "/\[EditorBrowsable/d"
find . -name "*" -type f | xargs sed -i -e "/\[StaticAccessor/d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment