freebsd-skq/usr.bin/unifdef
fanf 59b0d1fa1f unifdefall: optimise the loop that builds the unifdef command.
The old code used a shell loop to convert each controlling macro
definition into a command-line argument, reading the macro definitions
file each time. The new code converts the list of controlling macros
into a sed script which can run through the list of macro definitions
in one go.

Add some explanatory comments, since the code is quite meta.

Use {} instead of () for redirecting a group of commands.

Submitted by: Jonathan Nieder <jrnieder@gmail.com>
2009-11-26 19:08:33 +00:00
..
Makefile
unifdef.1 Update unifdef to my upstream version 1.188 2009-11-25 20:23:18 +00:00
unifdef.c Update unifdef to my upstream version 1.188 2009-11-25 20:23:18 +00:00
unifdefall.sh unifdefall: optimise the loop that builds the unifdef command. 2009-11-26 19:08:33 +00:00