I need to read each line of a file in BASH one at a time and perform an operation on each line.
Here's some pseudo-code outlining what I need to have happen:
while( fileIsNotEmpty )
{
line = ReadNextLine()
SomeOperation(line)
}
How do I do this?
No comments:
Post a Comment