threads / discuss / 3484

Re: the war on trailing whitespace

Subject: Re: the war on trailing whitespace

## tl;dr

One message between Feb 28, 2006 and Feb 28, 2006.

replies: 0people: 1as markdown or json

linux@horizon.com· Feb 28, 2006, 01:07 UTC · lore

The only language I know of where the presence of whitespace on blank lines matters is make(1). Even there, it's subtle. It's okay to have (using "cat -e" syntax)

foo : bar$
	command$
$
	command$
But there's a difference between
foo : bar$
	$
which specifies an empty command and will therefore not use a default rule, and

foo : bar$ $

which does not specify any command and so will use a default rule if one exists.
(Of course, you can also get [ \t]\n inside an arbitrary binary file, too.)

← back to recent threads