freebsd-dev/usr.bin/ypwhich
Dag-Erling Smørgrav ed4d1c46a2 Apply the following mechanical transformations in preparation for
ansification and constification:

    s{\s+__P\((\(.*?\))\)}{$1}g;
    s{\(\s+}{\(}g;
    s{\s+\)}{\)}g;
    s{\s+,}{,}g;
    s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g;
    s{return ([^\(].*?);}{return ($1);}g;
    s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g;
    s{\s+$}{\n};g

Also add $FreeBSD$ where needed.

MFC after:	1 week
2002-02-06 13:30:31 +00:00
..
Makefile WARNS=2 fixes 2001-12-11 22:08:58 +00:00
ypwhich.1 yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
ypwhich.c Apply the following mechanical transformations in preparation for 2002-02-06 13:30:31 +00:00