• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Reading Lines of Text from File Until EOF...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reading Lines of Text from File Until EOF...


  • Subject: Reading Lines of Text from File Until EOF...
  • From: "Robert B. Parker" <email@hidden>
  • Date: Tue, 30 Jan 2001 07:39:19 -0700

I've searched the archives, but haven't found exactly what I'm looking for,
so I thought I'd ask the group...

I have a text file that I want to read data out of. Each line of the data
file has the exact same number of characters in it and I've already got my
script to the point where it can parse out the info it needs from each line
of text.

My script is also acquiring each line of text from the file - sort of. The
problem I'm having is having the script gracefully close the file and exit
when it has hit the End of File (EOF).

If anyone has some sample code they could send my way (email@hidden)
I'd GREATLY appreciate it.

Thanks!!!


  • Prev by Date: Re: Remote access configuration
  • Next by Date: Re: a Smile, Script Debugger, Scripter
  • Previous by thread: Re: Remote access configuration
  • Next by thread: Re: Reading Lines of Text from File Until EOF...
  • Index(es):
    • Date
    • Thread