Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
grep problem
Name: Jim Date: December 1, 2002 at 12:00:56 Pacific OS: FreeBSD CPU/Ram: 512
Comment:
Hello,
I'm trying to grep all people named John from an employee file in Bourne Shell. The problem is that some of the street names also have John in them. For example here are a couple lines of data:
Sales John Jacobs 32 Oriole Lane IT Rich Gardener 443 John Street
Summary: Hey guys. I have a problem with grep and do not know how to solve it. Can anyone help? 1. Write a command that uses grep with regular expressions to look for lines containing only (meaning it's the o...
Summary: Hi all, I'm getting bogged down with a grep problem (I think it is). I'm running a program, which logs output to a file called tmp. I want to continuosly check the file for a keyword, and once I see i...