Re: Escaping grep

Lewis <[email protected]> Mon, 22 Feb 2021 06:36:57 -0000 (UTC)
Newsgroups alt.comp.lang.shell.unix.bourne-bash
Organization Miskatonic U
Message-ID <[email protected]>
In message <[email protected]> Michael F. Stemper <[email protected]> wrote:
> user@host$ grep -h "^\\usep" *tex | sort | uniq
> user@host$

This is a grep question, not a bash question.

You need to use egrep or grep -E if you want to use ^ I believe.


-- 
"Are you pondering what I'm pondering?"
"I think so, Brain! But do I have what it take to be the 'Lord of the
	Dance'?"