[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31182: Grep Not Matching with Caret in First Line of File
From: |
Benno Schulenberg |
Subject: |
bug#31182: Grep Not Matching with Caret in First Line of File |
Date: |
Mon, 30 Apr 2018 21:41:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
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