GNU bug report logs -
#31182
Grep Not Matching with Caret in First Line of File
Previous Next
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
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi,
Running "grep (GNU grep) 3.0" as part of Git for Windows (Git-2.16.2-64-bit.exe)
in bash shell.
It seems like grep isn't matching with a caret (start-of-line) on the first line of a file.
> head <file>
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnitySpeechToText.Utilities;
namespace UnitySpeechToText.Services
{
/// <summary>
/// Base class for streaming speech-to-text SDK.
/// </summary>
> grep "^using" <file>
using System.Collections.Generic;
using UnityEngine;
using UnitySpeechToText.Utilities;
> grep "using" <file>
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnitySpeechToText.Utilities;
Thanks,
Clay Budin
Principal Engineer - Content
MSG Ventures
This message may contain confidential, privileged or proprietary information of the Madison Square Garden Company or its affiliates. If you have received this message in error, please inform the sender by email and kindly delete the message.
[Message part 2 (text/html, inline)]
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.