in reply to If/else within a foreach loop to check strings within an array
getc comes to mind for char-at-a-time if one needs to process a file with potentially very long lines (or no line/record endings at all) instead of taking input directly as a command line arg.
|
|---|