bcpp

C(++) beautifier

Install

All systems
curl cmd.cat/bcpp.sh
Debian Debian
apt-get install bcpp
Ubuntu
apt-get install bcpp
image/svg+xml Kali Linux
apt-get install bcpp
Windows (WSL2)
sudo apt-get update sudo apt-get install bcpp
OS X
brew install bcpp
Raspbian
apt-get install bcpp

bcpp

C(++) beautifier

bcpp indents C/C++ source programs, replacing tabs with spaces or the reverse. Unlike indent, it does (by design) not attempt to wrap long statements. This version improves the parsing algorithm by marking the state of all characters, recognizes a wider range of indention structures, and implements a simple algorithm for indenting embedded SQL.