Listmates, Slightly OT, but if I read a text file into a single buffer, I can parse the buffer to find the number of lines by finding and counting the '\n' characters, but then how do I create a set of pointers (array, list, whatever) to the lines of text so I can access them? For example, I take ~/.bashrc and then its file size fread to read the entire file into a buffer before I work on the text. I want a way to get a pointer to the start of each line so I can then manipulate the lines as if I had read them into individual strings. I can use fmemopen, use the address of the buffer and then get the address of each '\n' and then add 1 to the pointer to get the start of the next line of text, but that just seems whacky. Anybody have any thoughts on how to make this work? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org