From d4a10385ee206e7ed40872b70040ce3b66a60e59 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 5 Dec 2018 10:48:26 +1100 Subject: * lib/utils.exp (grep): Handle -n. * doc/dejagnu.texi (grep procedure): Document it. * testsuite/runtest.all/utils.test: Add a test case. * NEWS: Add an item. --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index aed6a9b..35466ce 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,8 @@ Changes since 1.6.2: the default of reading "site.exp". See the manual for details. 3. A utility procedure relative_filename has been added. This procedure computes a relative file name to a given destination from a given base. +4. The utility procedure 'grep' now accepts a '-n' option that + includes line numbers in the output, consistent with GNU grep. Changes since 1.6.1: -- cgit v1.2.3