![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Egrep | risshanth | UNIX for Dummies Questions & Answers | 2 | 06-26-2008 07:21 AM |
| help on egrep | arund_01 | Shell Programming and Scripting | 2 | 05-13-2008 01:26 PM |
| egrep help | Darklight | Shell Programming and Scripting | 1 | 04-18-2008 02:34 AM |
| egrep | DNAx86 | Shell Programming and Scripting | 7 | 01-18-2008 08:59 AM |
| Egrep cheat sheet anywhere? Looking for meaning of egrep -c | leelm | UNIX for Dummies Questions & Answers | 2 | 01-11-2008 03:37 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
HI,
I want to grep the contents of fileb from filea. filbeb 5x4xxx371x31a43 4x40x037103a049 3x4x003710a0659 4x4x0x371a50912 filbea 5x4xxx371x31a43 3266000225 4x4003266000277 3266000277 4x400326x000499 3266000499 4x4003266000676 3266000676 4x4x0x371a50912 3266000777 4x40x037103a049 3266001819 4x40xx371057013 3266001820 4x4x00371056788 3266001821 3x4x003710a0659 3266001823 output should be as shown below 3266000225 3266001819 3266001823 3266000777 I used below code but giving error as Segmentation Fault (core dumped) egrep -f fileb filea | awk '{print $2}' >> output fileb count is 90535 filea count is 1591132 Pls help me |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|