Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CIS.OHIO-STATE.EDU!andres From: andres@CIS.OHIO-STATE.EDU (Andres Susarret) Newsgroups: comp.unix.questions Subject: delimiter error? Message-ID: <9009200301.AA07586@pueblo.cis.ohio-state.edu> Date: 20 Sep 90 03:01:13 GMT Sender: andres@tut.cis.ohio-state.edu Lines: 34 I've been unsuccessful in getting a line like echo `egrep "^Subject:" ~/generic-news-article` to work if the string egrep finds has a "/" (slash-mark) in it. (Yes, I know this is redundant :) An example line in the file "generic-news-article" might be Subject: Tell me if I am right/wrong and the the resulting error message is right/: No such file or directory When I take away the echo and the back-quotes(?) and use only egrep "^Subject:" ~/generic-news-article it works. Am I right in thinking that egrep is confusing the search string argument with the file arguments? I haven't succeeded with various combinations of quotes and double-quotes, and I've already tried using egrep's -e option. Could someone clue me in on how to handle this? (I prefer e-mail, but I also try to keep up w/ Usenet....) Thanks, -andres -- Andres Susarret CIS "operator" :) andres@cis.ohio-state.edu Ohio State University