Skip to content

Instantly share code, notes, and snippets.

@QuadFlask
Last active December 30, 2015 04:00
Show Gist options
  • Save QuadFlask/65a7e5f0e58853ee6445 to your computer and use it in GitHub Desktop.
Save QuadFlask/65a7e5f0e58853ee6445 to your computer and use it in GitHub Desktop.
replace all #define to inline in js

`gcc -E -x c source.js | sed '/^#/d' > result.js``

@QuadFlask
Copy link
Author

sed -- stream editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment