GNU bug report logs - #31182
Grep Not Matching with Caret in First Line of File

Previous Next

Package: grep;

Reported by: "Budin, Clay" <Clay.Budin <at> msg.com>

Date: Mon, 16 Apr 2018 15:54:01 UTC

Severity: normal

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


Message #14 received at 31182 <at> debbugs.gnu.org (full text, mbox):

From: Benno Schulenberg <bensberg <at> telfort.nl>
To: 31182 <at> debbugs.gnu.org
Cc: bug-grep <at> gnu.org
Subject: bug#31182: Grep Not Matching with Caret in First Line of File
Date: Mon, 30 Apr 2018 21:41:18 +0200
Budin, Clay wrote:
> It seems like grep isn't matching with a caret (start-of-line) on the first 
> line of a file.
Most likely you have a BOM (Byte Order Mark) on the first line.

(It would be cool, though, if grep could ignore that mark.)

Benno




This bug report was last modified 5 years and 204 days ago.

Previous Next


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