![]() |
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 |
| 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 |
| urgent-extracting block data from flat file using shell script | shirish_cd | Shell Programming and Scripting | 4 | 02-06-2008 09:05 AM |
| How to Block/Ban Traffic From Specific Referrer | osoamor | UNIX for Dummies Questions & Answers | 4 | 01-12-2007 03:58 PM |
| Is extracting specific files from a zip file possible? | HLee1981 | UNIX for Dummies Questions & Answers | 1 | 10-15-2005 12:06 AM |
| Parsing file and extracting the useful data block | arminder | Shell Programming and Scripting | 5 | 03-07-2005 09:37 AM |
| block telnet to specific port | xiamin | IP Networking | 5 | 03-20-2002 08:51 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi Everyone , have a great day
i have a file which has almost 20,000 blocks each starting with this particular line " rTCCreditControlRecord " , how can i bring out the 7172 block out of that file Thanks in Anticipation |
|
||||
|
Not working , meanwhile i have tried something like this
HTML Code:
while IFS= read -r EachLine do 'echo $EachLine if $EachLine = 'rTCCreditControlRecord'; then count = count + 1 fi if count = 7172; then echo $EachLine fi done < CCN02 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|