development/unifdef: Fix README.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-10-13 01:24:08 -04:00 committed by Willy Sudiarto Raharjo
parent 79260747de
commit 50f0c9fc80
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 6 additions and 5 deletions

View File

@ -1,13 +1,14 @@
unifdef (selectively processes C conditional compilation)
The unifdef utility selectively processes conditional C preprocessor #if
and #ifdef directives. It removes from a file both the directives and the
additional text that they delimit, while otherwise leaving the file alone.
The unifdef utility selectively processes conditional C preprocessor
#if and #ifdef directives. It removes from a file both the directives
and the additional text that they delimit, while otherwise leaving the
file alone.
It is useful for avoiding distractions when studying code that uses
#ifdef heavily for portability: the author's original motivation was to
understand xterm's pty handling code. It can be used as a lightweight
preprocessor; for example the Linux kernel uses unifdef to strip out
#ifdef __KERNEL__ sections from the headers it exports to userland. You
can use unifdef with languages other than C; for example UIT, a publisher
in Cambridge, uses unifdef with LaTeX.
can use unifdef with languages other than C; for example UIT, a
publisher in Cambridge, uses unifdef with LaTeX.