bug-grep
[Top][All Lists]
Advanced

[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: Budin, Clay
Subject: bug#31182: Grep Not Matching with Caret in First Line of File
Date: Mon, 16 Apr 2018 15:28:37 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]