Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > BOOK: Beginning Algorithms
|
BOOK: Beginning Algorithms
This is the forum to discuss the Wrox book Beginning Algorithms by Simon Harris, James Ross ; ISBN: 9780764596742
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Algorithms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 14th, 2006, 07:51 AM
Authorized User
 
Join Date: Dec 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reading lines beyon null lines in a file

While writing a file-processing script, I came across the following case where I need
to read info like ENDDOC and PGCount for multiple records that are in the same file.
; Record 1
@C ENDDOC# ATYC-12769314
@C PGCount 20
@T ATYC-12769295

; Record 2
@C ENDDOC# ATYC-12769317
@C PGCount 3
@T ATYC-12769315
Can you suggest how should I read the lines beyond null line in between?

http://www.ravishakya.com
__________________
http://www.ravishakya.com
 
Old March 11th, 2007, 07:37 AM
Friend of Wrox
 
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

What language are you writing in?

--
Charlie Harvey's website - linux, perl, java, anarchism and punk rock: http://charlieharvey.org.uk





Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to Count number of lines in a file lawsoncobol Access VBA 2 July 19th, 2007 04:28 AM
adding lines after generate xsl file kgoldvas XSLT 3 July 16th, 2007 03:20 AM
reading a stream from all the lines of a file vaidyapragati ASP.NET 2.0 Basics 3 May 10th, 2007 02:33 AM
Reading multiple lines as a single unit ravishakya Pro Java 0 September 14th, 2006 09:08 AM
how to count lines in word file arshad mahmood VB How-To 2 June 7th, 2006 09:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.