head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2012.11.17.01.54.09;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2012.02.06.10.23.11;	author ed;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/tools/tools/fixwhite/Makefile 231071 2012-02-06 10:23:11Z ed $

PROG=	fixwhite
BINDIR=	/usr/bin
WARNS=	6

.include <bsd.prog.mk>
@


1.1
log
@SVN rev 231071 on 2012-02-06 10:23:11Z by ed

Add fixwhite(1).

This small utility can be used to `sanitize' the whitespace in source
code. It does the following things:

Global:
- Remove empty lines at the beginning and the end of a file.
- Merge successive empty lines into a single empty line.

Per-line:
- Remove trailing whitespace.
- Merge spaces preceeding tabs into the tabs.

It operated on stdin/stdout. This means that if you use vi(1), you can
just run :%!fixwhite to reorganize the file.
@
text
@d1 1
a1 1
# $FreeBSD$
@

