Both of the below commands gives the same output,however which one is the correct method to use it?grep ^'\<that\>' file.txtSearches for the line which has that as the first wordgrep '^\<that\>' file.txtSame output as the previous one.Whats the difference in placing ^ anchor before the quotes or inside the quotes?Which one is the appropriate one?
Which of the following use of anchor is correct in regex using grep?
grep;regular expression