Strange behavior of fgrep.

Neil Rickert rickert at mp.cs.niu.edu
Fri Jun 28 11:04:04 AEST 1991


  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               <rickert at cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940



More information about the Comp.unix.wizards mailing list