Subject: CVS commit: src/bin/ls
To: None <source-changes@NetBSD.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: source-changes
Date: 10/14/2005 16:02:26
Module Name:	src
Committed By:	jschauma
Date:		Fri Oct 14 16:02:26 UTC 2005

Modified Files:
	src/bin/ls: ls.c

Log Message:
Honor the COLUMNS variable even when producing output not to a terminal,
as long as a specific format (that could use COLUMNS) was requested.
This makes

env COLUMNS=50 ls -C > file

not surprise the user who clearly wanted some specific output in the file.


To generate a diff of this commit:
cvs rdiff -r1.56 -r1.57 src/bin/ls/ls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.