Xref: utzoo comp.unix.wizards:26195 comp.sys.encore:945 alt.sys.sun:4417 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!linac!mp.cs.niu.edu!rickert From: rickert@mp.cs.niu.edu (Neil Rickert) Newsgroups: comp.unix.wizards,comp.sys.encore,alt.sys.sun Subject: Strange behavior of fgrep. Message-ID: <1991Jun28.010404.310@mp.cs.niu.edu> Date: 28 Jun 91 01:04:04 GMT Organization: Northern Illinois University Lines: 25 I have a file named 'data', containing exactly the one line as follows: /141.212.98.16/0.0.156.131.in-addr.arpa/PTR I have another file, 'pattern', containing exactly the following 4 lines: .156.131.in-addr.arpa/ /156.131.in-addr.arpa/ .0.0.127.in-addr.arpa/ /0.0.127.in-addr.arpa/ If I use the command: fgrep -f pattern < data I do not get any output. What is happening here? (This happens on both an Encore with BSD4.3, and a SunOS 4.1 system.) -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940