Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
grep troubles
Name: matt Date: November 18, 2003 at 18:10:39 Pacific OS: unix CPU/Ram: 512
Comment:
I am trying to grep a certain line from a file but i cant seem to get it.
The phrase is a comment of syntax: /* all on one line */
There are also similar lines that I do not want that are posing me problems:
Summary: Hello, I have a little trouble with grep...what i have is a file with many lines and any of the line may contain a word "error" , i want to grep this word "error" and print 5 lines above and 5 line b...
Summary: It does indeed support all of those options and all other options that grep supports, however, I'm having trouble constructing a string that alerts me on a line by line basis as to which lines have ei...
Summary: Hey...I have trouble with one of my homework problem. Anyone wants to help me out? Thanks in advance... Use grep to simulate the command sort file1 and uniq file1. ...