The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
identify specific pattern melanie_pfefer Shell Programming and Scripting 1 01-09-2009 06:42 AM
Need to extract specific pattern from logfile techychap Shell Programming and Scripting 2 01-07-2009 04:54 PM
Extract specific pattern from a file athreyavc Shell Programming and Scripting 4 11-12-2008 04:35 AM
Breaking output for specific pattern shoeb_syed UNIX for Dummies Questions & Answers 2 03-08-2006 04:00 AM
to separate a specific pattern shriashishpatil Shell Programming and Scripting 11 03-06-2006 08:04 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 02-12-2009
aoussenko aoussenko is offline
Registered User
  
 

Join Date: May 2008
Posts: 119
how to grep a specific pattern

Hi
I have a file in the following format:
ftrn facc ttrd feed xref
#1 1365 1366 1367 1097 1098
#2 1368 1369 1370 1095 1096
#3 1371 1372 1373 1065 1066
#4 1374 1375 1376 1099 1100
#5 1377 1378 1379 1080 1081
#6 1380 1381 1382 1101 1102
#7 1383 1384 1385 1331 1332
etc....

Is there a way/commands to retrieve the number which is located on the cross of let's say #5 and feed , which is 1080. May be somebody did something similar before. Thanks a lot for any help or advice -A
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:16 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0