Re: Escaping grep

Lewis <[email protected]>
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'?"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.