GNU bug report logs - #65416
Feature request: include first line of file in output

Previous Next

Package: grep;

Reported by: Daniel Green <ddgreen <at> gmail.com>

Date: Mon, 21 Aug 2023 07:16:02 UTC

Severity: wishlist

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daniel Green <ddgreen <at> gmail.com>
To: 65416 <at> debbugs.gnu.org
Subject: bug#65416: Feature request: include first line of file in output
Date: Sun, 20 Aug 2023 14:53:02 -0400
[Message part 1 (text/plain, inline)]
I'm frequently searching CSV files with 20-30 columns, and when there's a
hit it can be hard to know what the columns are. An option to also print
the first line of a file (either always, or only if that file had a match
to the pattern) in addition to any hits would be nice.

Thanks,
Dan
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 321 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.