|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Unix Shareware with the -B and -A grep fuctionality
Hi,
Can anyone help me or tell me how I can get a unix shareware that will allow me use grep with the following flags -A and -B. the version of Unix we have dont have this. I am doing a grep on a log to capture any error but I want what is returend to be more meaningful. Thanks Amen. |
| Sponsored Links | ||
|
|
|
|||
|
Thank you so much. I havve been able to download the files. and I have used gunzip to unzip the files. I am new to this. I am trying to install this in my unix or AIX environment by running e.g by typing grep-2.5.1.tar at the command prompt and i get a permission denied error. I have used the chmod to give read write and execute access to the file.
What do I do next. I am really new at this. Thanks. |
|
|||
|
I did all that and I am still not able to use the flag.
this is the message I get when I do a man grep -A [/home/user:]grep -A grep: Not a recognized flag: A Usage: grep [-E|-F] [-c|-l|-q] [-insvxbhwy] [-p[parasep]] -e pattern_list... [-f pattern_file...] [file...] Usage: grep [-E|-F] [-c|-l|-q] [-insvxbhwy] [-p[parasep]] [-e pattern_list...] -f pattern_file... [file...] Usage: grep [-E|-F] [-c|-l|-q] [-insvxbhwy] [-p[parasep]] pattern_list [file...] What do I do? Please help Thanks. |
|
|||
|
here is what i get
/home$`which grep` Usage: grep [-E|-F] [-c|-l|-q] [-insvxbhwy] [-p[parasep]] -e pattern_list... [-f pattern_file...] [file...] Usage: grep [-E|-F] [-c|-l|-q] [-insvxbhwy] [-p[parasep]] [-e pattern_list...] -f pattern_file... [file...] Usage: grep [-E|-F] [-c|-l|-q] [-insvxbhwy] [-p[parasep]] pattern_list [file...] Thanks. |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Grep within a UNIX Script | lisa_0801 | UNIX for Dummies Questions & Answers | 6 | 04-21-2008 10:19 AM |
| Archive lets users search through software/shareware. - ThomasNet Industrial News Roo | Linux Bot | UNIX and Linux RSS News | 0 | 08-20-2007 10:30 AM |
| Archive lets users search through software/shareware. - ThomasNet Industrial News Roo | Linux Bot | UNIX and Linux RSS News | 0 | 08-20-2007 10:10 AM |
| Free Shareware for UNix. | iwegbue3 | UNIX for Dummies Questions & Answers | 1 | 06-27-2005 08:54 AM |
| File Compare Shareware?? | tonyo61 | UNIX for Dummies Questions & Answers | 2 | 11-22-2000 11:46 AM |