![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to exclude the GREP command from GREP | yamsin789 | UNIX for Advanced & Expert Users | 2 | 10-05-2007 03:59 AM |
| Need Information. Will Appreciate It | rapzkilla | UNIX for Dummies Questions & Answers | 2 | 06-28-2007 03:33 AM |
| Make grep -c display like grep -n? | Jerrad | Shell Programming and Scripting | 2 | 08-25-2006 01:20 AM |
| I need a ton of information.... | markforsythe | AIX | 1 | 08-02-2004 10:17 AM |
| Need information on AIX 5.1.0.2 | TheBlueLady | UNIX for Advanced & Expert Users | 3 | 08-19-2002 10:32 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
removing unneeded information from grep?
Im looking for a way to setup a lil' script that will read the output from a command and dump certain items from that into another file
for an example, im trying this cat test | grep "statement" > test.answer but its giving me the full line that it finds is there any way to take out a portion of text from before what i want and after what i want? as in, I am searching for address=here so i: cat test | grep "here" > test.answer and i want to get rid of the parts before and after the word 'here'...is there anyway to do this? Thanks David |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|