• Post Reply Bookmark Topic Watch Topic
  • New Topic

reading from a unix file and calculating pages  RSS feed

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need to read a Linux file that contains account statements that has a delimiting field and calculate the number of pages that each statement contains and then present the totals for 1,2,3,4,5.... I am presently using a filereader and indexOf. readLine(). any help is appreciated. the code is listed below.

[/CODE]
[ March 09, 2006: Message edited by: harrell collins ]
 
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, what have you done so far? And what specific issue do you need help with?

Henry
 
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, welcome to the ranch!

Henry's questions are spot on. Many times we can help you best if you post some code and let us give you some hints on where to go next.

Some hints: Keep code chunks short but with enough context to understand them, use the "code" button below the editor to preserve your indenting and spacing. Show us the code! Let's play!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!