unifdefall.sh

Remove cpp '#ifdef' lines from files

Install

All systems
curl cmd.cat/unifdefall.sh.sh
Debian Debian
apt-get install unifdef
Ubuntu
apt-get install unifdef
Arch Arch Linux
pacman -S unifdef
image/svg+xml Kali Linux
apt-get install unifdef
Fedora
dnf install unifdef
OS X
brew install unifdef
Raspbian
apt-get install unifdef

unifdef

Remove cpp '#ifdef' lines from files

The unifdef utility selectively processes conditional cpp(1) directives. It removes from a file both the directives and any additional text that they specify should be removed, while otherwise leaving the file alone.