unifdef
Remove cpp '#ifdef' lines from files
Install
- All systems
-
curl cmd.cat/unifdef.sh
- Debian
-
apt-get install unifdef - Ubuntu
-
apt-get install unifdef - Arch Linux
-
pacman -S unifdef - Kali Linux
-
apt-get install unifdef - Fedora
-
dnf install unifdef - Windows (WSL2)
-
sudo apt-get updatesudo apt-get 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.