Subject: CVS commit: src/etc
To: None <source-changes@NetBSD.org>
From: Alan Barrett <apb@netbsd.org>
List: source-changes
Date: 12/08/2007 17:31:12
Module Name:	src
Committed By:	apb
Date:		Sat Dec  8 17:31:12 UTC 2007

Modified Files:
	src/etc: MAKEDEV.tmpl

Log Message:
Add a linecount shell function, and use it to count the lines in the
output from MAKEDEV.local.

Fixes PR 37498 from dlagner at rambler.ru, using an idea from David
Laight.  The while loop in the old code is executed in a subshell, so it
can't make persistent modifications to the parent shell's variables.


To generate a diff of this commit:
cvs rdiff -r1.91 -r1.92 src/etc/MAKEDEV.tmpl

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