UNIFDEF(1) General Commands Manual (prm) UNIFDEF(1) (NAME) unifdef, unifdefall - (SYNOPSIS) unifdef [-bBcdehKkmnsStV] [-Ipath] [-[i]Dsym[=val]] [-[i]Usym] ... [-f defile] [-x {012}] [-M backext] [-o outfile] [infile ...] unifdefall [-Ipath] ... file (DESCRIPTION) unifdef cpp(1) . . unifdef #if, #ifdef, #ifndef, #elif, #else, #endif -D -U -f . . (false) . (true) . #ifdef #ifndef . #if #elif unifdef . unifdef #if #elif -k . #if #elif : defined(), !, ~, - () *, /, %, +, -, <, <=, >, >=, ==, !=, &, ^, |, &&, ||, . . " " && : . || . unifdef . . . unifdef ( ) ( ) . #if #elif . -D #define -f . -U #undef -f (undefined) . unifdef C . . ( (BUGS) .) unifdefall cpp(1) . unifdef -s cpp -dM ( ) unifdef . (OPTIONS) -Dsym=val . -Dsym 1 . -Usym (undefined) . . -iDsym[=val] -iUsym C #ifdef #ifndef . -f defile defile #define #undef -D -U . -f -D -U . . ( ) . ( ) 1 . : -f . -b . -B . -B () . -b . -c . -d () . -e unifdef . -e . -h . -Ipath #include unifdefall . cpp(1) unifdefall unifdef . -K && || . unifdef . -k #if #elif . "#if 0" . . -m (in place) . . -M backext backext . backext -m . -n #line . -o outfile outfile . -s unifdef . -S -s . / . -t C . -iD -iU . -V . -x {012} . (EXIT STATUS) . unifdef file stdin . -m -M . stdin stdout `-' . unifdef -Dsym diff(1) . (EXIT STATUS) unifdef -x . () unifdef 0 1 . unifdef 1 0 . unifdef . unifdef 2 . -h -V, 0 . (DIAGNOSTICS) EOF #elif, #else #endif #define #undef (EOF) ( #if ) (SEE ALSO) cpp(1), diff(1) unifdef : http://dotat.at/prog/unifdef (HISTORY) unifdef 2.9BSD . ANSI C FreeBSD 4.7 . (AUTHORS) Dave Yost . Tony Finch ANSI C . (BUGS) o . o . -f . o ++C R"(string)" R"delimiter(string)delimiter". o ( ) . o (Trigraphs) . o . o cpp(1) . . Linux 6.12.113+deb13-amd64 December 3, 2015 Linux 6.12.113+deb13-amd64